-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8242577: Cell selection fails on iOS most of the times #181
Conversation
👋 Welcome back jpereda! A progress list of the required criteria for merging this PR into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good.
@jperedadnr This change now passes all automated pre-integration checks. When the change also fulfills all project specific requirements, type
Since the source branch of this PR was last updated there have been 19 commits pushed to the As you do not have Committer status in this project, an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@johanvos) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
/integrate |
@jperedadnr |
/sponsor |
@johanvos @jperedadnr The following commits have been pushed to master since your change was applied:
Your commit was automatically rebased without conflicts. Pushed as commit 5e9fb82. |
There are cases when iOS sends one or more NSTouchPhaseMoved for a given touch event, in between NSTouchPhaseBegan and NSTouchPhaseEnded , even if the initial event location didn't change.
By default, all these events are emulated as mouse enter/down, drag and up/exit events.
However, when the user taps quickly or even holds steady on a cell, if these touch moved events are generated and sent as mouse drag events, the cell selection fails, as the flag
latePress
used in CellBehaviorBase is set to false, preventing the cell selection that should happen upon touch release event.This PR prevents emulating mouse drag events when the touch event doesn't change its location.
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jfx pull/181/head:pull/181
$ git checkout pull/181