text selection blocks mouse events
Categories
(Core :: DOM: Selection, defect)
Tracking
()
People
(Reporter: z-5, Unassigned)
Details
Steps to reproduce:
I have a mouseleave event on a text element. I do mousedown and select a piece of text. When I leave an element during selection, I want the mouseleave event to fire to call removeAllRanges().
Actual results:
The expected mouseleave event does not execute. No other hooked event is executed either until mouseup is executed.
Expected results:
In other Edge browsers, Google Chrome, when you leave an element while selecting text, the mouseleave event and every other event fires. This allows you to stop selecting unnecessary content and continue selecting, for example, entire table cells. Leaving an element is supposed to execute removeAllRanges() and change the selection method to its own, not built-in. The introduced blockade is very flustering and not understandable. There is no way around this and the site should work the same across browsers. Adapt to others.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Selection' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•3 years ago
|
Description
•