Closed Bug 1774875 Opened 4 years ago Closed 3 years ago

Avoid 10ms delay before firing click event after a touchscreen single-tap on a non-scrollable page

Categories

(Core :: Panning and Zooming, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: botond, Assigned: dlrobertson)

References

Details

Attachments

(1 external file)

See bug 1768561 comment 11 through bug 1768561 comment 15 for context.

The logic for activating the target element of the tap on touch-start if the page is not scrollable, is in ActiveElementManager, around here.

Assigning myself, since I hope to look at the broader issue in bug 1768561.

Assignee: nobody → drobertson
Blocks: 1816471
Blocks: 1768561

Non-scrollable elements are immediately activated on touch-start, so it
is not necessary to delay firing the synthesized mouse and click events.

Attachment #9317482 - Attachment description: Bug 1774875 - Immediately fire click events for non-scrollable elements. r=botond → WIP: Bug 1774875 - Immediately fire click events for non-scrollable elements. r=botond
Attachment #9317482 - Attachment description: WIP: Bug 1774875 - Immediately fire click events for non-scrollable elements. r=botond → Bug 1774875 - Immediately fire click events for non-scrollable elements. r=botond
Pushed by drobertson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/482ab2d2834d Immediately fire click events for non-scrollable elements. r=botond,geckoview-reviewers,m_kato
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: