material-components / material-web

Material Design Web Components
https://material-web.dev
Apache License 2.0
9.25k stars 889 forks source link

Add an indicator that there are more tabs as currently visible #5706

Open nicolasr75 opened 1 month ago

nicolasr75 commented 1 month ago

Description

We use several tab controls in our web application and depending on screen size not all tab items are visible. Some of our customers complained that they sometimes do not see any indication that there are more tabs. I should mention that we are still on version 2 but as I noticed in the interactive demo "Scrolling tabs" on material-web.dev the behavior is still the same.

The tab control from Vaadin blends out the last visible tab if there are more and optionally shows a scroll button. https://vaadin.com/docs/latest/components/tabs

That would be a nice feature.

asyncLiz commented 1 month ago

We have an internal issue (b/131710797) asking for design to spec out paginated tabs for this use case. No movement on it yet, but I +1'd that this is a desirable feature to have.