Closed Bug 1374511 Opened 7 years ago Closed 7 years ago

Spurious scrollbars during panel subview transitions

Categories

(Firefox :: Toolbars and Customization, defect)

All
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 940733

People

(Reporter: mstange, Unassigned)

Details

(Whiteboard: [photon])

Attachments

(1 file)

Attached video screen recording
Steps to reproduce:
 1. Open the app panel / hamburger menu.
 2. Switch back and forth between the Web Developer subview and the main panel.

The panel changes its height during the transition between the two views. Sometimes you can see a scrollbar showing up briefly, but it doesn't really look like a scrollbar because it's clipped and because it's only visible for a short moment.
To me, the scrollbar looks like a graphical glitch.

I would recommend one of the following options:
 1. Don't change the panel's size; keep it at the size that's required by the main menu and scrollbars for subviews that require more space. Or:
 2. During the transition, clip the subview in such a way that no scrollbar appears. E.g. <clip><fullSizeReserver><actualContents/></fullSizeReserver></clip>
(In reply to Markus Stange [:mstange] from comment #0)
>  1. Don't change the panel's size; keep it at the size that's required by
> the main menu and scrollbars for subviews that require more space.

This was supposed to say "... and *show* scrollbars for subviews that require more space."
Keeping the panel the same size also gives you a smoother transition, because animating the size of a panel is hard to do in a performant way.
I think this is a dupe of bug 940733.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: