Skip to content

Commit

Permalink
Fix PointerEvents not dispatching post-scroll (#44238)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #44238

Changelog: [Android][Fixed] PointerEvents were not dispatching after a scroll event

Reviewed By: RSNara

Differential Revision: D56519337

fbshipit-source-id: 72ea6fba583f1105e6c71560fc3a06913287844f
  • Loading branch information
javache authored and facebook-github-bot committed Apr 24, 2024
1 parent 767197c commit 766ece7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 766ece7

Please sign in to comment.