Skip to content
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 not showing when rendered within a menu #69

Open
lsirdevan opened this issue Oct 2, 2019 · 2 comments
Open

Tabs not showing when rendered within a menu #69

lsirdevan opened this issue Oct 2, 2019 · 2 comments

Comments

@lsirdevan
Copy link

I have an interesting use case that requires MaterialTabs to be rendered within a drop down menu. For some reason on iOS, the menu does not appear until some sort of input is focused, wether that be a checkbox, datepicker etc.

This issue does not appear on Android though, so it's got me scratching my head. Does anyone have any thoughts?

I've made a snack to show an example of the use case & issue.

https://snack.expo.io/@remoradev/09c4ea

Video Example

@iRoachie
Copy link
Owner

iRoachie commented Oct 3, 2019

Can you also submit an issue on react-native-paper's repo? I'm not able to immediately deduce what might be causing this, but if we're both looking into it there's a better chance of it being fixed.

@gaspop
Copy link

gaspop commented Feb 13, 2020

Perhaps this is related to another issue I found. On Android, if the MaterialTabs component is rendered within the footer of a FlatList, and is off-screen when the root view is first rendered, it won't appear until something triggers the root view to re-render, i.e. a changing the state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants