You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c1283d1
Browse filesBrowse the repository at this point in the historyBrowse files
Fix pointer id/coordinate mismatch in Android platform view multi-touch
_AndroidMotionEventConverter.toAndroidMotionEvent built the pointer
list from pointerPositions.keys.toList(), which iterates in Flutter
pointer insertion order. The engine's PlatformViewsController pairs
the coordinates sent here with the original MotionEvent's pointers by
array position, assuming ascending Android pointer id order. Once a
released Android pointer id is recycled by a new touch, insertion
order and id order diverge, corrupting the action index and pairing
each pointer with the wrong coordinates.
Sort the pointer list by Android pointer id before building the
action index and motion event arrays so both sides agree on what the
array order means.
Fixesflutter#191105
Co-Authored-By: Claude Opus 5 <[email protected]>
0 commit comments