Skip to content

Commit f0ea23f

Browse files
committed
coalesce check in touch event
1 parent 1bcda3c commit f0ea23f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/events/RNGestureHandlerTouchEvent.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class RNGestureHandlerTouchEvent private constructor() : Event<RNGestureHandlerT
3939
EVENT_NAME
4040
}
4141

42-
override fun canCoalesce() = true
42+
override fun canCoalesce() = !GestureHandler.usesNativeOrLogicDetector(actionType)
4343

4444
override fun getCoalescingKey() = coalescingKey
4545
override fun getEventData(): WritableMap? = extraData

0 commit comments

Comments
 (0)