Closed JaitenThomas closed 2 years ago
Or is it possible to just have a react navigation tab navigator and somehow connect the indicator to the current tabs screen elements?
The indicator width is already dynamically set, see the scrollable example.
Relevant code: https://github.com/PedroBern/react-native-collapsible-tab-view/blob/main/src/MaterialTabBar/Indicator.tsx#L36-L43
@JaitenThomas Feel free to reopen if you mean when sceoll is disabled.
Feature request
Wanting the Tab Indicator size to be dynamic based Tab Item width, similar to twitter
Current behavior
The tab item indicator is based on a division of number of tabs evenly
Screenshots (if applicable)