I am going to create component like TabPanel with an option to collapse overflowing tabs in navigation instead of scrolling. Basically I would like to add dropdown at the end of TabPanel navbar with list of hidden tabs.
I was thinking about extending TabPanel but it seems it is not possible achieve it just by extending it.
Any ideas/recomendations how do design it?
r
Robert Jaros
05/21/2021, 11:48 AM
Currently scrolling is implemented with very simple CSS. To get a dropdown you will need to make it far more complicated. You should re-implement
TabPanelNav
, but first you need to get access to the
nav
field (it's private right now). Please fill an issue about this.