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
Copy file name to clipboardExpand all lines: packages/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/events/RNGestureHandlerTouchEvent.kt
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -69,13 +69,7 @@ class RNGestureHandlerTouchEvent private constructor() : Event<RNGestureHandlerT
69
69
putInt("eventType", handler.touchEventType)
70
70
putInt("pointerType", handler.pointerType)
71
71
72
-
// Both keys have to be present in every touch event, otherwise the JS side may
73
-
// misclassify it as an update event and crash trying to read gesture-specific data.
74
-
// The payloads may be null when the tracked pointers were cleared before the event
75
-
// was serialized (e.g. the gesture was cancelled by a rapid succession of taps) or
76
-
// when the payload was already consumed - fall back to empty arrays, matching iOS.
0 commit comments