-
Notifications
You must be signed in to change notification settings - Fork 38
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
Tabs: Decide on responsive approach and worst case scenarios #916
Comments
Add this as example. 4 options go out of viewport. Example from here |
I think there are a couple options, each with their own tradeoff. Personally I like scrollable tabs, which is probably the easiest solution, but it needs to communicate that you can scroll, either with an arrow or scrollbar. Maybe this could be coupled with a prop to only display the icon on mobile? |
Meeting 31.10.23 We decided we should implement horizontal overflow with scroll and button navigation. |
This has not been solved yet. We never got around to implementing previous comment. We'll make sure to find an answer to this before v1 tho. |
I'll be happy to try to find an answer and mark this as solved. Please let me know if there is anything specific that is blocking us from figuring this out :) The Equinor example seems to be a good solution for V1 at least. I'm working on an updated version of the current Storybook documentation of the Tabs component at the moment. |
Horizontal overflow with CSS should be fixed before V1. The buttons could come later. |
We need to decide on how we should resolve the following use-case, and update code & guidelines in accordance.
The text was updated successfully, but these errors were encountered: