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

Can't click any view after scroll on release build. #12

Open
doanbh opened this issue Oct 3, 2020 · 1 comment
Open

Can't click any view after scroll on release build. #12

doanbh opened this issue Oct 3, 2020 · 1 comment

Comments

@doanbh
Copy link

doanbh commented Oct 3, 2020

It worked really well until I build the release version. I don't understand why everything stays clickable until I scroll down. I can't click any view on the screen. Even the back button on my Android phone cannot return to the previous screen. I don't know how to handle this. Please help me.

@PeterHjHan
Copy link

@doanbh, for me after inspecting the screen, The entire view was covering the header, so I set the header's zIndex and elevation to 5 (or anything that should be the highest)

const s = StyleSheet.create({ header: { top: 0, height: HeaderHeight, width: '100%', alignItems: 'center', justifyContent: 'center', position: 'absolute', zIndex: 5, elevation: 5 } });

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

No branches or pull requests

2 participants