Bottom Sheet 2.0 adds accessibility support and dynamic snap points
updated
Bottom Sheet 2.0 of react-native-bottom-sheet by gorhom has been released, with the changes below.
Features
- Accessibility support (#117).
- A default backdrop (#109).
- An
onAnimatecallback (#91). - The ability to control panning gestures (#88).
- Dynamic snap points (#81).
- An
animateOnMountprop (#78).
Improvements
- Updated
@gorhom/portal(#114). - The modal was refactored into a declarative component (#108).
- Updated handling of container height for modals (#102).
- A major refactor and code cleanup (#101), plus updated dependencies (#100).
- Updated props naming (#89).
- Added
useReactiveValue/s(#65). - Flipper was re-enabled, debugging logs and the debugger view were removed, and the default background and handle styling were updated.
- The auto-changelog template was updated, and an adjustment was made for the v1 to v2 release.
Fixes
- Initial mounting flicker (#115).
- Dynamic snap points on modals (#113).
- The
animatedIndexinterpolate node now handles one snap point (#92). - Initial snap points when set to 100% (#105).
Documentation
- A documentation website was added (#90).
- The readme file was updated, and a navigator example link was fixed (by @grifotv).
Links
Source: github.com