Storybook: Superfluous vertical scrollbar in fullscreen

Created on 22 Nov 2017  路  7Comments  路  Source: storybookjs/storybook

In full screen mode, there is always a vertical scrollbar with a minute amount of wiggle room (maybe 1 pixel). This is with a brand new storybook:

image

It doesn't matter what the actual content is or how you resize the window, although if you make it small enough that the content doesn't fit then you'll get 2 scrollbars:

image

It seems like the outer scrollbar is completely unnecessary; removing the overflow: auto styling on the offending div from the dev console fixes it.

bug merged ui

Most helpful comment

@tonyleeper I'm seeing this now too (appears to be a new issue in recent versions)... maybe submit a PR?

All 7 comments

Would you like to make a PR?

@Hypnosphi done: #2394

I see this same issue in non-fullscreen mode in the top-right panel. Is there a plan to fix it there also?

The offending element is .Pane.horizontal.Pane1 . Removing overflow:auto in the console appears to fix it there also.

@tonyleeper I'm seeing this now too (appears to be a new issue in recent versions)... maybe submit a PR?

Am also seeing this, I would submit a PR but don't know the solution.

Does this issue exist in the alpha version too?

@ndelangen nope, it seems to be fixed in the alpha.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rpersaud picture rpersaud  路  3Comments

zvictor picture zvictor  路  3Comments

Jonovono picture Jonovono  路  3Comments

purplecones picture purplecones  路  3Comments

tlrobinson picture tlrobinson  路  3Comments