Releases: react-navigation/react-native-safe-area-view
Releases · react-navigation/react-native-safe-area-view
v0.14.6
Bug fixes
- If an onLayout prop was passed, it was called incorrectly before: without an event argument or asynchronously, which made it unusable. This release fixes the onLayout prop to be called synchronously only when the event fires.
v0.9.0
Bug Fixes
- checks if Dimensions.addEventListener is a function
- don't call setState on unmounted component
New
- add TypeScript definitions
- pass all props to View
- add repository info for NPM
- new withSafeArea HOC
Thanks for your contributions!
v0.2.0
Bugfixes & Improvements
- updates SafeAreaView to match React Navigation version
- now adds padding from style object, if height is specified, inset padding is added to height
- percent for padding is now supported
- fix for web usage