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

Editor Sidebar: Scrollable tab layout appears broken on Windows #67155

Open
2 of 6 tasks
t-hamano opened this issue Nov 20, 2024 · 0 comments
Open
2 of 6 tasks

Editor Sidebar: Scrollable tab layout appears broken on Windows #67155

t-hamano opened this issue Nov 20, 2024 · 0 comments
Labels
General Interface Parts of the UI which don't fall neatly under other labels. OS Issues Issues or PRs that are related to OS specific problems [Package] Components /packages/components [Type] Bug An existing feature does not function as intended

Comments

@t-hamano
Copy link
Contributor

Description

The Tabs component becomes scrollable when it overflows its container width.

This behavior appears to work correctly in Storybook on Windows OS:

Image

However, in the editor sidebar, the layout appears broken when tabs overflow. Below is a screenshot of what it looks like when you access Site Editor > Navigation in Japanese:

Image

This layout looks "broken" to me for two reasons:

  • The tabs are pushed up.
  • The scrollbar overlaps the bottom border of the header.

Step-by-step reproduction instructions

  • Switch to Japanese locale and access the navigation menu.
  • Alternatively, you can recreate this issue on other screens by changing the text length in your browser developer tools.

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure
@t-hamano t-hamano added [Type] Bug An existing feature does not function as intended General Interface Parts of the UI which don't fall neatly under other labels. [Package] Components /packages/components OS Issues Issues or PRs that are related to OS specific problems labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
General Interface Parts of the UI which don't fall neatly under other labels. OS Issues Issues or PRs that are related to OS specific problems [Package] Components /packages/components [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

1 participant