mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix PointerEvents not dispatching post-scroll (#44238)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44238 Changelog: [Android][Fixed] PointerEvents were not dispatching after a scroll event Reviewed By: RSNara Differential Revision: D56519337 fbshipit-source-id: 72ea6fba583f1105e6c71560fc3a06913287844f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
767197c9a2
commit
766ece7b9b
+1
-1
@@ -116,7 +116,7 @@ public class ReactSurfaceView(context: Context?, private val surface: ReactSurfa
|
||||
override fun onChildEndedNativeGesture(childView: View, ev: MotionEvent) {
|
||||
val eventDispatcher = surface.eventDispatcher ?: return
|
||||
jsTouchDispatcher.onChildEndedNativeGesture(ev, eventDispatcher)
|
||||
jsPointerDispatcher?.onChildStartedNativeGesture(childView, ev, eventDispatcher)
|
||||
jsPointerDispatcher?.onChildEndedNativeGesture()
|
||||
}
|
||||
|
||||
override fun handleException(t: Throwable) {
|
||||
|
||||
Reference in New Issue
Block a user