Closed Bug 2008841 Opened 1 month ago Closed 11 days ago

Dragging an element to the bottom of a reorderable moz-box-group causes a scroll bar to appear and flicker

Categories

(Toolkit :: UI Widgets, defect, P3)

defect

Tracking

()

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

(Blocks 1 open bug)

Details

(Whiteboard: [recomp])

Attachments

(1 file)

STR

  1. Visit https://firefoxux.github.io/firefox-desktop-components/?path=/story/ui-widgets-box-group--reorderable (I don't think we have a widget that's accessible in the current nightly Firefox UI).
  2. Select the dots next to the first element.
  3. Drag down to the bottom of the list, slowing down as you get to the last item.
  4. Observe the list

Actual Results

When the blue line gets to be displayed at the bottom of the list, a scroll bar appears on the right. If the mouse is moved within the bottom quarter(ish) of the last element, then the scrollbar and list flicker as the scrollbar is hidden and re-shown.

Expected Results

No scrollbar appears, and no flickering.

I noticed this when testing out bug 1972071, it is slightly worse if the moz-box-group is scrollable as well.

See Also: → 1972071
Whiteboard: [recomp]
Severity: -- → S4
Priority: -- → P3
Blocks: 1972071
See Also: 1972071
Depends on: 2012151

This avoids causing flickering of the scrollbar when dragging the item to the bottom of the list.

Assignee: nobody → standard8
Status: NEW → ASSIGNED
See Also: → 2013831
Attachment #9540463 - Attachment description: Bug 2008841 - For moz-reorderable-list ensure the drag indicator does not go beyond the bottom of the box area. r?#reusable-components-reviewers-rotation! → Bug 2008841 - Adjust the moz-reorderable-list drag indicator so that it does not extend beyond the bottom of the box area. r?#reusable-components-reviewers-rotation!
Pushed by mbanner@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/c9c7dcf8723d https://hg.mozilla.org/integration/autoland/rev/1c770f8d2004 Adjust the moz-reorderable-list drag indicator so that it does not extend beyond the bottom of the box area. r=mkennedy
Status: ASSIGNED → RESOLVED
Closed: 11 days ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: