Viewport fix in 5.1.10 causes the original bug
See original GitHub issueOur project hasn’t had any trouble up to this point - for us, the fix in #7173 is now causing the problem it’s meant to solve. I updated Storybook this morning and got:
- Reverting the CSS to
height: 100%
puts things back to normal. - We are not using
addon-backgrounds
, if that helps. - We don’t have much going on for addons that might be conflicting:
import 'storybook-addon-interaction/register'; import '@storybook/addon-knobs/register'; import '@storybook/addon-viewport/register'; import 'storybook-addon-intl/register';
- Our DOM looks like:
- Seeing this on Firefox 68.0.1 and Chrome 75.0.3770.142, both running on Ubuntu 18.04. My apologies for not having more system information;
npx
throws an error that I haven’t been able to resolve:npx -p @storybook-cli@next sb info > Error: Invalid package name "@storybook-cli": name can only contain URL-friendly characters
Cheers.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
[meta] Make viewport handling consistent with other browsers
Bugs related to the top level presentation objects (pres shell, pres context, and document viewer), the frame constructor, and the base frame classes,...
Read more >how to fix Viewport issue when going from landscape to portrait
When i run my page on an iOS 5.1.1 it displays properly, so it might be a new version of the viewport bug...
Read more >UE5 viewport lag and very low FPS. : r/unrealengine - Reddit
The viewport lags too much and only getting 5 -10 FPS. Tried disabling lumen, nanite, changing anti aliasing method, shadow map method but ......
Read more >Add to viewport does not work - Unreal Engine Forums
The UI is being created and is not being attached. The bad news is that there's basically no workaround for this unless I...
Read more >CSS fix for 100vh in mobile WebKit - Matt Smith
TIL a #CSS trick to handle that annoying mobile viewport bug with `100vh` in WebKit (iOS Safari)! #WebDev #ProTip.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah I’m going to check it the next days!
@jalovatt Didn’t face that issue before but sorry for the inconvenience.
This should be fixed in 5.2-rc.0