SafeAreaView doesn't work with this library
See original GitHub issueHi,
I’m using SafeAreaView
from react-navigation
and when I’m trying to add custom transition using this library the SafeAreaView
is not taking into account on iOS devices.
Please help.
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
<SafeAreaView> not work (Views go above the notification tab)
According to react-native docs: The purpose of SafeAreaView is to render content within the safe area boundaries of a device.
Read more >react-native-safe-area-context - npm
Values are always relative to a provider and not to these components. SafeAreaView is the preferred way to consume insets. This is a...
Read more >Supporting safe areas | React Navigation
While React Native exports a SafeAreaView component, it has some inherent issues, i.e. if a screen containing safe area is animating, it causes...
Read more >React Native SafeAreaView - GeeksforGeeks
SafeAreaView renders nested content and automatically applies padding to reflect the view that is not covered by navigation bars, tab bars, and ...
Read more >Configure Navigation - UI Kitten - GitHub Pages
UI Kitten has built-in components to fit React Navigation API. This guide will help you to configure the app to navigate between screens...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@alisherakb I might have figured it out.
Instead of:
forceInset={'always'}
Try:
forceInset={{ top: 'always', bottom: 'always' }}
Re-opening so I remember to add an example to the README for how to deal with this since
react-navigation
doesn’t seem to explain it well.