Skip to content

Commit 766ece7

Browse files
javachefacebook-github-bot
authored andcommitted
Fix PointerEvents not dispatching post-scroll (facebook#44238)
Summary: Pull Request resolved: facebook#44238 Changelog: [Android][Fixed] PointerEvents were not dispatching after a scroll event Reviewed By: RSNara Differential Revision: D56519337 fbshipit-source-id: 72ea6fba583f1105e6c71560fc3a06913287844f
1 parent 767197c commit 766ece7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactSurfaceView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public class ReactSurfaceView(context: Context?, private val surface: ReactSurfa
116116
override fun onChildEndedNativeGesture(childView: View, ev: MotionEvent) {
117117
val eventDispatcher = surface.eventDispatcher ?: return
118118
jsTouchDispatcher.onChildEndedNativeGesture(ev, eventDispatcher)
119-
jsPointerDispatcher?.onChildStartedNativeGesture(childView, ev, eventDispatcher)
119+
jsPointerDispatcher?.onChildEndedNativeGesture()
120120
}
121121

122122
override fun handleException(t: Throwable) {

0 commit comments

Comments
 (0)