Skip to content
Discussion options

You must be logged in to vote

Hi @shish! I'm Dosu and I’m helping the storybook team.

This isn't intentional—it's a browser-specific bug in Storybook 10.2.0+ that affects Firefox ESR 140.x. The preview iframe doesn't take the full height, so you get a very short (about 100px tall) viewport. Upgrading to Firefox 147+ fixes it, but if you need to stay on ESR, you can work around it by adding this CSS to your .storybook/manager-head.html:

<style>
  @-moz-document url-prefix() {
    iframe[title="storybook-preview-iframe"] {
      position: static !important;
      width: 100% !important;
      height: 100vh !important;
    }
  }
</style>

Details & workaround

For the Docs view: viewport controls are not shown by design, …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by shish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant