Open
Bug 1850759
Opened 1 year ago
Updated 6 months ago
Rectangle drag selection gets stuck if the mouse is released outside the graph
Categories
(Tree Management :: Perfherder, defect)
Tree Management
Perfherder
Tracking
(Not tracked)
NEW
People
(Reporter: mstange, Unassigned)
References
Details
(Whiteboard: [fxp])
Steps to reproduce:
- Go to this perfherder graph.
- Start dragging a rectangle in the middle of the graph.
- Drag your mouse all the way to the right, leaving the graph area.
- Release the mouse button.
Expected results:
When the mouse button is released, the new selection should be committed.
Also, while the mouse is moving outside of the graph, the rectangle should still update.
Actual results:
The mousemove and mouseup outside the graph area are ignored, and the selection is stuck in the selecting mode.
For these types of UIs, the mousemove and mouseup handlers should be set on the window. This will ensure that all events are received even when the mouse leaves the browser window. See this Draggable
component in the Firefox profiler for inspiration.
Updated•6 months ago
|
Whiteboard: [fxp]
Updated•6 months ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•