You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When viewing a story page, if you navigate directly to the page or refresh the
story you will notice that the Addons panel below the story will be visible if
it was previously hidden. This is causing the whole page to be pushed up by 40px. The shortcuts button in the sidebar and the toolbar above the story
become inaccessible.
This seems to only be a problem when you have a more than 53 stories and you
are viewing the 54+ story and do a refresh.
I was able to confirm this behavior on Storybook version 8.4.7 and 8.5.2, on Brave, Chrome, and Safari.
The example project was created with npx storybook@latest init. I then generated a
bunch of simple stories based on a template.
I believe this has something to do with the grid-template that is applied to the div that is the first child of div#root. It doesn't seem to be respecting minmax(0px, 0px) on page load.
Describe the bug
When viewing a story page, if you navigate directly to the page or refresh the
story you will notice that the Addons panel below the story will be visible if
it was previously hidden. This is causing the whole page to be pushed up by
40px
. Theshortcuts
button in the sidebar and the toolbar above the storybecome inaccessible.
This seems to only be a problem when you have a more than
53
stories and youare viewing the
54+
story and do a refresh.I was able to confirm this behavior on Storybook version
8.4.7
and8.5.2
, on Brave, Chrome, and Safari.Reproduction link
https://github.com/psyrendust/storybook-bug
Reproduction steps
yarn install
yarn storybook
If you navigate to example-button--docs
and then click on Example/Button/Primary button in the sidebar you'll notice the bug is not there
anymore.
System
Additional context
No response
The text was updated successfully, but these errors were encountered: