Contact emails
perry...@gmail.com
Specification
No information provided
Summary
Currently Chromium applies the default action of a mouseup event (e.g. collapsing or committing a drag-selection in a text input) after the click event has already been dispatched. This violates developer expectations: a click handler that reads selection state sees stale data from before the mouseup default action ran.
This change moves the mouseup default-action step to run before the click event is dispatched, so that selection (and any other mouseup side effects) is already settled when click handlers execute.
Blink component
Blink>Input
Web Feature ID
mouse-events
Risks
Interoperability and Compatibility
No information provided
Gecko: No signal
WebKit: No signal
Web developers: No signals
Other signals:
WebView application risks
Does this intent deprecate or change behavior of existing APIs,
such that it has potentially high risk for Android WebView-based
applications?
No information provided
Debuggability
No information provided
Will this feature be supported on all six Blink platforms
(Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?
Yes
Yes
Flag name on about://flags
No information provided
Finch feature name
DefaultMouseUpActionBeforeClickDispatched
Tracking bug
https://issues.chromium.org/issues/40686462
Estimated milestones
| Shipping on desktop | 152 |
| DevTrial on desktop | 150 |
| Shipping on Android | 152 |
| DevTrial on Android | 150 |
| Shipping on WebView | 152 |
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5298387739082752