JungHsuan / react-native-collapsible-tabview

This is only an implementation of tabview with collapsible header.
MIT License
276 stars 61 forks source link

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

Open doanbh opened 3 years ago

doanbh commented 3 years ago

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 commented 3 years ago

@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 } });