• Adam Barth's avatar
    Sporadic crash from invalid touch event · 3c14e41b
    Adam Barth authored
    When embedded by the view_manager, sometimes we receive pointerup or
    pointercancel events without having received a cooresponding pointerdown event.
    The underlying issue is that the view_manager doesn't capture on pointerdown
    and instead performs a new hit test for every pointer event. We should fix that
    in view_manager, but, in the meantime, this patch makes us not crash in this
    scenario.
    
    Fixes #339
    3c14e41b
sky_binding.dart 4.09 KB