Closed Bug 1144831 Opened 5 years ago Closed 5 years ago
Remove the Handle
Long Tap Up method from Gecko Content Controller
While investigating bug 1142437 I noticed that there is a scenario where we the APZ code can dispatch a click event before the corresponding touchend - this happens when the user does a long-press, and the contextmenu or mozlongtap events are not preventDefaulted. Generally dispatching the click before the touchend can be problematic (at one point facebook had issues with this) and for consistency we should always dispatch the click after the touchend. With this in mind, and also nothing that the HandleLongTapUp controller notification does nothing *but* dispatch a click, we can just get rid of HandleLongTapUp entirely and re-use the HandleSingleTap code.
5 years ago
Attachment #8579579 - Flags: review?(botond)
Build-only try push to make sure I didn't miss anything: https://treeherder.mozilla.org/#/jobs?repo=try&revision=889642088190
You need to log in before you can comment on or make changes to this bug.