forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark HoverEvents as handled when pointer event dispatching is enabled (…
…facebook#46445) Summary: Pull Request resolved: facebook#46445 Similarly to onTouchEvent, we should return true from onHoverEvent to signal to Android that the hover event is "handled" (because we've dispatched the event to JS). This is important to be able to distinguish multiple stacked React roots on top of each other. Changelog: [Android][Fixed] Hover events were dispatched incorrectly when multiple ReactRoots were layered. Reviewed By: mdvacca Differential Revision: D62529586 fbshipit-source-id: d007c44b8ef56989888eb9a993e1428bd0b72a7b
- Loading branch information
1 parent
c942469
commit 533ef2c
Showing
3 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters