Open
Bug 2008722
Opened 2 days ago
Updated 2 days ago
The horizontal resizer for the details panel moves down while dragging
Categories
(Tree Management :: Treeherder, defect)
Tree Management
Treeherder
Tracking
(Not tracked)
NEW
People
(Reporter: arai, Assigned: arai)
Details
Attachments
(1 file)
Steps to reproduce:
- open https://treeherder.mozilla.org/jobs?repo=mozilla-central&revision=9d92a25bfb8f450e7a3970cbeb1c5a10bc9133da&selectedTaskRun=BRSqI30jR2SBdDp8XeGr1Q.0 (or just open https://treeherder.mozilla.org/jobs?repo=mozilla-central and select any job)
- mousedown on the horizontal resizer at the top of the details panel
- move the mouse cursor, vertically and horizontally
- mouseup
Expected result:
The resizer follows the vertical movement of the mouse cursor, and does nothing on the horizontal movement of the mouse cursor.
Actual result:
The resizer moves down on any movement, in addition to the movement that follows the vertical movement of the mouse cursor.
This is caused by the rounding etc from the height handling.
Directly using the pixel-based size should work, and we can use the ratio only if the window height has changed.
https://github.com/mozilla/treeherder/blob/master/ui/job-view/App.jsx#L415-L422
| Assignee | ||
Comment 1•2 days ago
|
||
Assignee: nobody → arai.unmht
You need to log in
before you can comment on or make changes to this bug.
Description
•