pointerup event not fired in certain situations when mouse buttons are released outside of the window
Categories
(Core :: DOM: Events, defect, P3)
Tracking
()
People
(Reporter: matt, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
1.41 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Steps to reproduce:
Tested on Windows 10 only.
(1) bind a pointerdown handler that calls setCapture
(2) press the left mouse button, drag out of the window - pointermove events are sent
(3) press another button on the mouse, outside of the window- a pointermove event is triggered for the button state
(4) release the left mouse button- a pointermove event is triggered for the button state
(5) release the other button
Actual results:
No pointerup is triggered, yet the mouse pointer is no longer in the active buttons state.
Expected results:
Firefox should trigger a pointerup event, since there are now no buttons pressed.
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•5 years ago
|
||
a minimal testcase would be really useful here.
Added a reproduction. Similar behavior is observed on Linux, and can also be triggered by right-clicking to open a context menu if the right-click is released inside the context menu.
Comment 4•3 years ago
|
||
Redirect a needinfo that is pending on an inactive user to the triage owner.
:edgar, since the bug has recent activity, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Description
•