mirror of
https://github.com/zhigang1992/react-native-bottom-sheet.git
synced 2026-01-12 17:42:17 +08:00
18 KiB
18 KiB
Changelog
v2.2.6
Improvements
- chore: changed all arrays to ReadonlyArray (
#350).
Fixes
- fix: reset isclosing variable when position changed (5302e20).
v2.2.5 - 2021-03-17
Fixes
- fix: update handleSnapTo on modal to use index parameter (789b8da).
v2.2.4 - 2021-03-13
Fixes
- fix: updated modal unmounting handling (
#327). - fix: prevent crash when set index -1 with animateOnMount (2c7b763).
Documentations
- docs: fix typo in contributing document (
#325).
v2.2.3 - 2021-03-04
Improvements
- chore: export bottom sheet props (60514b4).
Fixes
v2.2.2 - 2021-02-20
Fixes
- fix: reset scrollable offset when its size change (
#301).
v2.2.1 - 2021-02-19
Fixes
Documentations
- docs: updated reanimated version on installation (
#288).
v2.2.0 - 2021-02-09
Features
- feat: added bottom inset (
#237).
Documentations
- docs: added bottomInset description (913ed68).
v2.1.0 - 2021-02-07
Features
- feat: allow to override sheet container style (
#265).
Fixes
Documentations
v2.0.7 - 2021-01-29
Fixes
- fix: prevent modal crash when navigating (
#244).
v2.0.6 - 2021-01-29
Fixes
- fix: prevent animation when modal is closing (
#205). - fix: stabilise animated callback node variables (
#239).
v2.0.5 - 2021-01-21
Improvements
- chore: added auto-close github action (4451d34).
Fixes
- fix: removed onScroll event from BottomSheetScrollView (
#225). - fix: fixed sheet visibility when handle provided null (
#224). - fix: allow backdrop style prop to override internal style (
#212).
v2.0.4 - 2021-01-16
Improvements
- chore: added no console eslint rule (
#199).
v2.0.3 - 2021-01-11
Improvements
- refactor: updated bottom sheet layers (
#176).
Fixes
- fix: prevent rounding up normalised snap points (
#177).
Documentations
- docs: updated modal hooks docs (
#172). - docs: updated snapPoints description example (
#164). - docs: updated documentation website (50a91e6).
v2.0.2 - 2021-01-06
Improvements
- chore: updated auto-changelog configs (b374a07).
Fixes
- fix: fixed shouldMeasureHandleHeight evaluation (
#158).
v2.0.1 - 2020-12-22
Improvements
Fixes
- fix: fixed
backdropComponenttyping (4af7d5c).
Documentations
- docs: updated website & readme (216432a).
v2.0.0 - 2020-12-16
Features
- feat: add accessibility support (
#117). - feat: added default backdrop (
#109). - feat: added onAnimate callback (
#91). - feat: allow control panning gestures (
#88). - feat: allow dynamic snap points (
#81). - feat: added animateOnMount prop (
#78).
Improvements
- chore: updated @gorhom/portal (
#114). - chore: refactored modal to become a declarative component (
#108). - chore: updated handling container height for modals (
#102). - chore: did major refactor and code cleanup (
#101). - chore: updated dependencies (
#100). - chore: updated props naming (
#89). - chore: added useReactiveValue/s (
#65). - chore: re-enable flipper (1af2a55).
- chore: updated auto-changelog template (d78f220).
- chore: remove debugging logs (9a6a342).
- chore: updated default background & handle styling (783642b).
- chore: remove debugger view (f1dda70).
- chore: adjust v1 to v2 release (9ab44a3).
Fixes
- fix: initial mounting flicker (
#115). - fix: dynamic snap points on modals (
#113). - fix: fixed animatedIndex interpolate node to handle one snap point (
#92). - fix: initial snap points when it is 100% (#105) (b6b972a).
Documentations
- docs: added documentation website (
#90). - docs: updated readme file (185f7a6).
- docs: updated readme file (0bc1a47).
- docs: fixed navigator example link (by @grifotv) (fd82d9f).
v1.4.1 - 2020-10-02
Improvements
Fixes
- fix: add reanimated 2 compatibility to bottom sheet modal (2d47007).
v1.4.0 - 2020-09-30
Features
- feat: introduce bottom sheet modal 🔥 (
#37).
v1.3.1 - 2020-09-26
Fixes
- fix: updated decelerationRate per platform (
#36).
v1.3.0 - 2020-09-24
Features
- feat: added enabled prop (
#35).
Improvements
- chore: clean up code (8e62141).
Documentations
- docs: added reference to version 2 branch (fea90a9).
v1.2.2 - 2020-09-15
Improvements
- chore: improve unstable manualSnapToPoint variable (
#30).
v1.2.1 - 2020-09-10
Fixes
- fix: updated drop gesture if-conditions (
#28).
v1.2.0 - 2020-08-23
Features
- feat: added Reanimated v2 compatibility (#15 by @sa8ab) (
#24). - feat: added expo compatibility support (2c3d545).
Improvements
- chore: improve content/scrollable panning handling (
#23). - chore: updated scrollable scrollToTop event to handle empty list use case (
#22). - chore: reset currentGesture after transition finishes (e7b6646).
Documentations
- docs: updated readme file to include Reanimated v2 & expo compatibilities (9bc30e9).
- docs: updated BottomSheetView link (14d2f0f).
v1.1.1 - 2020-08-13
Improvements
- chore: added funding file (587a26e).
Fixes
- fix: removed disableIntervalMomentum animated value (
#13).
Documentations
- docs: update issue templates (5df4c4a).
- docs: remove unused issue template (787cf8a).
- docs: fixed BottomSheetView link by (@remanation)
Just fixed a small issue with the link to BottomSheetView pointing to the flatlist doc instead of the view doc (2dcab83).
v1.1.0 - 2020-08-12
Features
- feat: added expand & collapse methods (
#8).
Improvements
Documentations
- docs: added methods & hook to readme file (
#5). - docs: added faq to readme file (d6f6e44).
- docs: fix a typo at readme file (8446abd).
v1.0.0 - 2020-08-11
Features
- feat: rewrite bottom sheet from scratch 🎉 (
#2).
Improvements
- chore: added map example (312bcd1).
- chore: updated map example (9a65a74).
- chore: added useBottomSheet hook & backgroundComponent (069fca0).
- chore: updated animated position prop (2a1695b).
- chore: updated renimated dependency (dc6a38f).
Documentations
- docs: update branding (
#4). - docs: update docs (
#3). - docs: updated links in readme (fe1b967).
- docs: added docs for backgroundComponent (7edd480).
v0.0.7 - 2020-08-03
Improvements
- chore: added script to copy types file to lib (f48d829).
Fixes
- fix: fixed reattach events onfocus (
#1).
v0.0.5 - 2020-07-31
Improvements
- chore: introduce focus hook to reset scrollable ref (70061ec).
Fixes
- fix: fixed extracting paddingBottom in scrollable components (945104a).
v0.0.3 - 2020-07-31
Fixes
- fix: fixed extracting paddingBottom in scrollable components (64cef61).
v0.0.2 - 2020-07-31
Improvements
- chore: clone react-native-scroll-bottom-sheet (105cb03).