-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
I find why this component cannot be nested #215
Comments
There are few issues for that like #187. |
So, is there no workaround this issue? Using ScrollableTabView inside a View? |
same issue, can anybody help? |
A lot of people asking about this. I'm just curious how your ui looks like? |
My UI consists of one primary TabBar and each tab has an optional secondary TabBar. That's simply a nested tab navigation.
I think I'm going to work with this. If you are interested in such a hacky PR, which optionally enables this hack, i'll prepare one :) |
Could please make a screenshot? It will help me a lot. |
same problem. can you resolve it, @skv-headless ? |
https://material.google.com/components/tabs.html#tabs-usage |
Well, that seems to be a list of conventions for material design, which is probably wide-spread. Still, there might be cases where material design is not desired/necessary. PS: We intentionally break the material design conventions |
@maikokuppe same issue as you as a nested tab not initialised, after see this discuss, i try not to have nested tabs through placing a button on top to change state then update the tab list below, but seems same issue of cannot initialised after i update the existing tab.....so could you tell me more about this hack... the this.goToPage(-1) should be put to which part...Thx update: Seems adding a reference to the tab view then the hack works.Thx |
@maikokuppe is right, but in last version
|
@maikokuppe how have you defined goToPage? I'm have the problem with the first view not being rendered. |
the reason is ViewPagerAndroid!!!
see this test code:
In this test, the inital page(page2-1) can not display,need rota device. the react-native-scrollable-tab-view can not nested is this reason
The text was updated successfully, but these errors were encountered: