Open ferrannp opened 6 days ago
Hey, version 0.0.9 introduces ignoresTopSafeArea
prop for the navigator this should extend the view by ignoring safe area
Screen props aren't passed in the standard React Navigation way, if you're using Expo Router then pass the option to the top-level navigator like so:
<Tabs
ignoresTopSafeArea={true}
screenOptions={{
// ignoresTopSafeArea: true,
}}>
@okwasniewski I tried ignoresTopSafeArea: true
and I get the same issue, still seeing wrong bg color.
This prop solved this issue for me.
@okwasniewski I tried
ignoresTopSafeArea: true
and I get the same issue, still seeing wrong bg color.
@ferrannp Yes in the example folder, you can find multiple working examples. One of them ignores safe area insets without issues: https://github.com/okwasniewski/react-native-bottom-tabs/blob/main/example/src/Examples/FourTabs.tsx
If you still encounter issues can you provide a minimal reproduction example?
Adding tabs changes the background of the top safe area (in this screenshots should be grey, not white).