New release, we finally tackled the infamous "Tap outside to close" issue #11 🎉
- Added
onBackdropPress
prop that can be used to react to the modal backdrop press (for example for closing it). - Added a modal example for
onBackdropPress
. - BREAKING CHANGE: Removed the
hideOnBack
prop that was used for closing the modal on back button press on Android. It's useless now since theonBackButtonPress
listener exists. - Added typescript definitions.
Thanks a lot to @tomasreimers, @RichardLindhout, @ifiokjr, @dark1991, @petejkim and all the other contributors!