JungHsuan / react-native-collapsible-tabview

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

Breaks with safeareaview #40

Open sirusbaladi opened 1 year ago

sirusbaladi commented 1 year ago

Hi,

I tried the PullRefreshTabView example, but I'd like header and the scroll to respect the safe area view. By wrapping the screen around the SafeAreaView component, the screen breaks.

Any suggestion?

Thanks

sirusbaladi commented 1 year ago

for the moment I fixed it by changing the background of the status bar to white and giving it zindex to 1.

https://stackoverflow.com/questions/60022475/react-native-how-to-change-the-color-of-the-top-portion-of-the-iphone-where-the

any less hacky way to make it actually work with safearea?

JungHsuan commented 1 year ago

Got it. I think there would be a simpler way. Let me give it a try.

JungHsuan commented 1 year ago

Hi @sirusbaladi, sorry, I tried, but I couldn't come up with a better way to work with SafeArea.