RFR: 8242577: Cell selection fails on iOS most of the times
jvos at openjdk.java.net
Thu Apr 16 21:16:23 UTC 2020
On Tue, 14 Apr 2020 10:31:18 GMT, Jose Pereda <jpereda at openjdk.org> wrote:
> 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
> 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.
Marked as reviewed by jvos (Reviewer).
More information about the openjfx-dev