Skip to content

[Bug]: Storybook's UI layout break sometimes when opening dev tools #32970

@yannbf

Description

@yannbf

Describe the bug

Sometimes when resizing the browser and reaching the mobile viewport size (such as when opening browser dev tools), then going back to desktop viewport size, Storybook gets into a weird state where the mobile viewport elements are still shown, then the UI becomes quite broken:

Here's a gif showing this in action:
Image

It's not always easy to reproduce, but sometimes it will happen quite often. I have found it useful to toggle the sidebar via option + S and then resize the browser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects demosbuginternal-qaThis issue was reported by the Storybook team, potentially on unreleased or prerelease software.ui

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions