Skip to content
This repository has been archived by the owner on Jan 30, 2021. It is now read-only.

Releases: react-navigation/react-native-safe-area-view

v0.14.6

03 Jul 14:32
Compare
Choose a tag to compare

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

11 Jun 23:52
Compare
Choose a tag to compare

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

21 Nov 00:37
Compare
Choose a tag to compare

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