What's new
- Improved handling of keyboard and inputs
- Better gesture control using react-native-gesture-handlers
- Better support for scrollable views inside action sheet
- Improved router for handling multiple pages inside sheet
- Added
useSheetRef
hook to access sheet ref from context - Added
useSheetPayload
hook to get sheet's payload from context - Support for nesting action sheets
- New and improved example app with lots of examples for almost every action sheet use case
- Improved documentation
Fixes and improvements
- Docs: fix type on
initialSnapIndex
by @seanpcoyle in #279 - fix: import
useSheetRouter
instead ofuseRouter
in sheet router g… by @kimjisena in #320 - Update sheetmanager.mdx by @owenduncansnobel in #308
- Correct vertical position of Actionsheet by @aleberguer in #288
- fix: Bottom Space Problem on all devices by @jonxssc in #328
- Adds
onTouchBackdrop
to pass up the touch event on the backdrop by @gbrvalerio in #292 - Fix react-native-gesture-handler deps by @DanielRiera in #338
- Improve migration guide structure by @yusato in #340
- Docs: Add isModal={false} requirement to the example for bg interaction by @lakardion in #339
- FIX : Invariant Violation: You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one, js engine: hermes by @Saliheen in #372
- Update index.tsx for correct offset calculation in onChange by @redy159 in #385
Migrate from v0.8.x
Learn how to migrate your app to v0.9.7 in the docs
New Contributors
- @seanpcoyle made their first contribution in #279
- @kimjisena made their first contribution in #320
- @owenduncansnobel made their first contribution in #308
- @aleberguer made their first contribution in #288
- @jonxssc made their first contribution in #328
- @gbrvalerio made their first contribution in #292
- @DanielRiera made their first contribution in #338
- @yusato made their first contribution in #340
- @lakardion made their first contribution in #339
- @Saliheen made their first contribution in #372
- @redy159 made their first contribution in #385
Full Changelog: v0.8.21...v0.9.7