Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storybook appears to think entire viewport (including frame) is bigger than it is. #3347

Closed
estaub opened this issue Apr 3, 2018 · 3 comments

Comments

@estaub
Copy link

estaub commented Apr 3, 2018

Bug summary

The entire Storybook page extends both below and to the right of the viewport; 36 pixels horizontally and about the same vertically (maybe a bit less).

FWIW, this cost me hours before it dawned on me that no amount of box-sizing or other CSS voodoo in my code was going to keep my 100% elements from being too big!

There are a few other similarly-worded issues posted that appear to actually be different. For clarity, here are screenshots of the origin and the fully-scrolled configuration. The entire browser window is shown. The problem happens at larger window sizes also, I just used a small one for the screenshots.

Unscrolled:
screen shot 2018-04-03 at 4 27 52 pm

Fully scrolled, both x and y:
screen shot 2018-04-03 at 4 28 18 pm

Steps to reproduce

mkdir test
cd test
npm i -g @storybook/cli
cd my-react-app
getstorybook
yarn run storybook

Environment:

Latest storybook/react 3.4.0 on
Latest Chrome 65.0.3325.181 on
Latest MacOS High Sierra 10.13.3.

@Hypnosphi
Copy link
Member

Hypnosphi commented Apr 5, 2018

Does this issue reproduce for you on our live exaples page?
Can you please try to open it in incognito mode, so that no browser extensions would interfere with it?

@estaub
Copy link
Author

estaub commented Apr 5, 2018

No, sorry, I can't reproduce it at all now!
I did Quit out of Chrome yesterday and was able to reproduce it after restart.
I also checked other applications to see if they appeared to have a similar issue, and they did not.

This probably makes sense to close, but I'll leave it to you in case there's some reason you think Storybook is likely to be more than an ordinary victim.

@stale
Copy link

stale bot commented Apr 26, 2018

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants