Releases: httnn/react-native-simple-modal
Releases · httnn/react-native-simple-modal
v9.0.1
v9.0.0
Changes:
- BREAKING: replace
overlayBackground
withoverlayStyle
in order to be able to better customise the style of the overlay (#43 by @franciscofsales) - add
containerProps
andmodalProps
properties to customise the props of the internal view components (#42 by @SuhairZain) - set the offset to the value of
offset
on initial render (previously it was only updated the the prop changed) (#46 by @bbeckk)
Thanks everyone for the contributions!
v8.0.0
Changes:
modalDidOpen
andmodalDidClose
are called more reliably (#38 by @tuanmai)- when
disableOnBackPress
is true, it's only taken into consideration when the modal is open (#39 by @zachrnolan) - the component uses the new
PropTypes
definition format (#32 by @nmjay)
Thanks to everyone for the contributions!
v7.0.0
v6.0.0
v5.1.1
v5.1.0
Changes:
- fix bug where children wouldn't be rendered on first render if the modal is initially open
- add
disableOnBackPress
prop - add TypeScript types
thanks to @cenkakin, @ofirgeller and @iyegoroff for the contributions!
5.0.0
Changes:
- when
animationDuration
is0
, the modal is not animated at all - remove Android backpress listener when unmounting the component
Thanks to @alekseykarpenko and @nadeermalangadan for the contributions!