Open
Bug 1834247
Opened 1 year ago
Updated 1 year ago
Mousing over options in select element inside button triggers dragstart event
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
UNCONFIRMED
People
(Reporter: rsimoes, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0
Steps to reproduce:
This appears to only happen on Firefox for Linux.
- Open a select element that is contained in a button (that is contained in a draggable element).
- Mouse over the select element's options.
- Mouse out of the select element's options.
Reproduction HTML: https://codepen.io/stwlam/pen/NWOejer
Actual results:
A dragstart event is triggered for the draggable parent.
Expected results:
A dragstart event is not triggered for the draggable parent.
Updated•1 year ago
|
Component: Untriaged → Widget: Gtk
OS: Unspecified → Linux
Product: Firefox → Core
Hardware: Unspecified → Desktop
Comment 2•1 year ago
|
||
Kinda? Not quite sure actually. So this code opens the dropdown on mousedown.
Presumably we never send the mouseup, but we keep sending mousemoves to content? Seems like that could realistically trigger a drag start.
Flags: needinfo?(emilio)
You need to log in
before you can comment on or make changes to this bug.
Description
•