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

[Bug]: Mediquery problem with panelPosition on the right #26880

Open
unleashit opened this issue Apr 18, 2024 · 0 comments
Open

[Bug]: Mediquery problem with panelPosition on the right #26880

unleashit opened this issue Apr 18, 2024 · 0 comments

Comments

@unleashit
Copy link

unleashit commented Apr 18, 2024

Describe the bug

When the panel (with controls, etc.) is set to the right, either manually by the user or as part of the manager config, it doesn't collapse as expected on medium screens.

See this screen cast:

chrome_s6nAAaqijW

On medium width screens, the panel should either collapse to the bottom (IMO best since the sidebar is still visible as a column) or be hidden.

When the panel is set to the bottom, there are no issues:

chrome_AoZBWjqrM1

To Reproduce

When the panel is set to the right, use dev tools to slowly shink the window (or use a tablet). At some points, the viewport will be too narrow.

System

System:
    OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa)
    CPU: (8) x64 Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 20.12.2 - ~/.nvm/versions/node/v20.12.2/bin/node
    npm: 10.5.2 - ~/.nvm/versions/node/v20.12.2/bin/npm
    pnpm: 8.15.6 - ~/.nvm/versions/node/v20.12.2/bin/pnpm <----- active
  Browsers:
    Chrome: 123.0.6312.122
  npmPackages:
    @storybook/addon-a11y: ^8.0.8 => 8.0.8
    @storybook/addon-actions: ^8.0.8 => 8.0.8
    @storybook/addon-essentials: ^8.0.8 => 8.0.8
    @storybook/addon-interactions: ^8.0.8 => 8.0.8
    @storybook/addon-links: ^8.0.8 => 8.0.8
    @storybook/blocks: ^8.0.8 => 8.0.8
    @storybook/components: ^8.0.8 => 8.0.8
    @storybook/core-events: ^8.0.8 => 8.0.8
    @storybook/manager-api: ^8.0.8 => 8.0.8
    @storybook/preview-api: ^8.0.8 => 8.0.8
    @storybook/react: ^8.0.8 => 8.0.8
    @storybook/react-vite: ^8.0.8 => 8.0.8
    @storybook/test: ^8.0.8 => 8.0.8
    @storybook/theming: ^8.0.8 => 8.0.8
    eslint-plugin-storybook: ^0.8.0 => 0.8.0
    storybook: ^8.0.8 => 8.0.8

Additional context

No response

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

1 participant