-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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] Support vertical tabs #16628
[Tabs] Support vertical tabs #16628
Conversation
d0ae7f0
to
c378d2c
Compare
@material-ui/core: parsed: +0.20% , gzip: +0.29% Details of bundle changes.Comparing: 20b3ab9...2e7e487
|
53a5954
to
5be2b8d
Compare
@josephpung Could you have a look at my changes? Thanks! |
@oliviertassinari this is much better! I was having trouble trying to modify the tabIndicator, its cleaner as well without the need to pass the orientation props to the Tab component 👍 |
Ok cool. I will keep it open longer so we can collect more feedback. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ScrollButtonComponent?: React.ElementType; | ||
scrollButtons?: 'auto' | 'desktop' | 'on' | 'off'; | ||
TabIndicatorProps?: Partial<TabIndicatorProps>; | ||
TabIndicatorProps?: Partial<React.HTMLAttributes<HTMLDivElement>>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not disagreeing with this change but we should update the documentation as well:
Properties applied to the TabIndicator element.
Since this isn't a documented component we shouldn't use a proper noun here.
@eps1lon Thanks for the review. I will fix the two reported issues. |
5be2b8d
to
41709a7
Compare
Very nice work. Looks really slick! |
@josephpung Thanks for starting this effort. I'm very happy to see this +20 upvotes issue addressed. |
Happy to be able to help in any way I can! :) |
Closes #8662
Closes #16697
I've been working with the sidebar alternative for a while, while at the same time keeping track of the progress of vertical tabs (im aware it a proper version is probably coming more towards v5). This is something I have been working on as a solution, not sure if it would be viable as an official change but i have applied the modifications to the Simple Tabs demo.
Edit @eps1lon:
material-ui.com: vertical tabs