Closed deshika94 closed 2 years ago
Hi @deshika94, would you like to share your code or screenshots?
@JungHsuan Thank you for the quick response. For now, I was able to solve it by including overflow:'hidden' inside the view. Seems to be working fine on iOS now! :) Before ->
Code ->
fff0-eba2-4f64-b46e-0adfa019f310.png)
Result ->
Oh! I see your point. That's because the header is set to absolute
.
Thanks for the great solution by using overflow:'hidden'
I have no issue with this on android, it works perfectly. But on iOS, when I scroll up, the status bar becomes transparent and I can see the header and other components being scrolled behind the status bar. I did wrap everything inside a SafeAreaView with a background color, but when I scroll, the background color of the SafeAreaView also scrolls up. The weird thing is, when I add a navigation header, the tab contents scroll behind it so that works well. Any idea on how I can fix this?