152 Commits

Author SHA1 Message Date
Mo Gorhom
72ed28763a chore: release v2.2.6 v2.2.6 2021-03-19 22:26:41 +00:00
Mo Gorhom
5302e20dd4 fix: reset isclosing variable when position changed 2021-03-19 22:24:06 +00:00
Jakub Tkacz
3abe59909d chore: changed all arrays to ReadonlyArray (#350)
Co-authored-by: Ubax <jakub.tkacz@swmansion.com>
2021-03-18 00:06:01 +00:00
Mo Gorhom
257718f6c4 chore: release v2.2.5 v2.2.5 2021-03-17 23:52:47 +00:00
Mo Gorhom
789b8dacd2 fix: update handleSnapTo on modal to use index parameter 2021-03-17 23:52:21 +00:00
Mo Gorhom
d86c1fa459 chore: release v2.2.4 v2.2.4 2021-03-13 22:08:42 +00:00
Mo Gorhom
a5628161c5 fix: updated modal unmounting handling (#327)
* chore: updated dependencies

* refactor: updated bottom sheet modal handling
2021-03-13 21:39:02 +00:00
Mo Gorhom
2c7b763144 fix: prevent crash when set index -1 with animateOnMount 2021-03-09 20:23:21 +00:00
Vojtech Novak
443672bf8e docs: fix typo in contributing document (#325) 2021-03-05 22:06:35 +00:00
Mo Gorhom
d4002a882c chore: release v2.2.3 v2.2.3 2021-03-04 14:39:15 +00:00
Mo Gorhom
60514b40d5 chore: export bottom sheet props 2021-03-04 14:38:48 +00:00
Thomas Ghysels
e51490b596 fix: export of internal modal type (#309) 2021-03-04 14:35:39 +00:00
Mo Gorhom
0aa88ad0f1 fix: prevent closing when sheet is out of screen (#322) 2021-03-04 14:33:32 +00:00
Mo Gorhom
a47c3006ff chore: release v2.2.2 v2.2.2 2021-02-20 10:26:04 +01:00
Mo Gorhom
bf7a255a53 fix: reset scrollable offset when its size change (#301) 2021-02-20 10:23:56 +01:00
Mo Gorhom
10be2f179c chore: release v2.2.1 v2.2.1 2021-02-19 21:11:17 +01:00
Mo Gorhom
6952d4c2e9 fix: bottom sheet container layout (#296)
* chore: updated handling top and bottom insets

* chore: updated gesture handler

* chore: pass top and bottom insets from modal to sheet

* chore: updated examples
2021-02-19 20:34:26 +01:00
Ollie Brennan
c778e8e5ff docs: updated reanimated version on installation (#288)
Upgrading documentation to point package to react-native-animated@2.0.0-rc.2
2021-02-14 23:38:13 +01:00
Richard Keenan
2a62d269ac fix: allow 0% snap points (#278) 2021-02-14 23:35:35 +01:00
Mo Gorhom
7e34e30c5b chore: release v2.2.0 v2.2.0 2021-02-09 23:19:36 +01:00
Mo Gorhom
913ed68d44 docs: added bottomInset description 2021-02-09 23:18:07 +01:00
Dawid
ed8b86bbf8 feat: added bottom inset (#237)
* feat: add a bottom inset option

* fix: remove debug

* feat: add footer example and fix modal behaviour

* fix: remove subtraction

* fix: modal handle shows when stacked and minimized

* fix: set top and bottom of the root container as not to break other modals

* chore: updated normalize snap points calculating

* refactor: container styling

* fix: dismissing modals when unmounting

* chore: updated exmaple

* chore: updated bottom sheet props description

Co-authored-by: Dawid van der Hoven <dawidvdh@gmail.com>
Co-authored-by: Mo Gorhom <gorhom@me.com>
2021-02-09 23:15:15 +01:00
Mo Gorhom
99a16b1a14 chore: release v2.1.0 v2.1.0 2021-02-07 23:21:26 +01:00
Mo Gorhom
b76597304e docs: added style to props page 2021-02-07 23:20:04 +01:00
Mo Gorhom
a723f2286d feat: allow to override sheet container style (#265)
* chore: added style to bottom sheet props

* chore: updated backdrop example
2021-02-07 23:12:31 +01:00
Ben Hartouz Mohamed
59eac0d708 fix: prevent duplicated close triggers (#257) 2021-02-02 23:42:13 +01:00
Mo Gorhom
43efd1697f fix: stabilise modal un-mounting (#254) 2021-02-01 22:27:57 +01:00
Mo Gorhom
d11a88922f docs: added question issue template 2021-01-29 21:40:00 +01:00
Mo Gorhom
1ff40d2a09 chore: release v2.0.7 v2.0.7 2021-01-29 21:34:00 +01:00
Mo Gorhom
2f713b60d2 fix: prevent modal crash when navigating (#244)
* chore: updated react native portal

* chore: override portal unmounting handler

* chore: remove unmount ref value
2021-01-29 21:32:29 +01:00
Mo Gorhom
9641e36224 chore: release v2.0.6 v2.0.6 2021-01-29 21:31:34 +01:00
Mo Gorhom
d5f8d58c9e fix: prevent animation when modal is closing (#205)
* chore: prevent start animation when sheet is closing

* chore: prevent layout effects from triggering animation when the sheet is closing

* chore: added fallback index ref to prevent stack modal bug

* chore: allow to force snapping while sheet is closing
2021-01-28 21:44:21 +01:00
Mo Gorhom
0444886d90 fix: stabilise animated callback node variables (#239) 2021-01-28 20:39:15 +01:00
Mo Gorhom
636782a214 chore: release v2.0.5 v2.0.5 2021-01-21 23:07:07 +01:00
Mo Gorhom
9039591ac9 fix: removed onScroll event from BottomSheetScrollView (#225) 2021-01-21 23:05:39 +01:00
Mo Gorhom
c32e700a84 fix: fixed sheet visibility when handle provided null (#224) 2021-01-21 22:21:24 +01:00
Mo Gorhom
cbfe80a377 fix: allow backdrop style prop to override internal style (#212) 2021-01-18 19:58:50 +01:00
Mo Gorhom
4451d3413d chore: added auto-close github action 2021-01-16 14:46:09 +01:00
Mo Gorhom
a6000bfc24 chore: release v2.0.4 v2.0.4 2021-01-16 13:28:33 +01:00
Mo Gorhom
750a81e3da chore: added no console eslint rule (#199) 2021-01-16 13:24:51 +01:00
Mo Gorhom
d68aea6cf3 chore: release v2.0.3 v2.0.3 2021-01-11 22:43:21 +01:00
Mo Gorhom
49efdc50a0 fix: prevent rounding up normalised snap points (#177) 2021-01-09 19:00:03 +01:00
Mo Gorhom
e8dd7f590d refactor: updated bottom sheet layers (#176)
* chore: added content mask container

* chore: added custom background example
2021-01-09 18:31:07 +01:00
Mo Gorhom
50a91e6e08 docs: updated documentation website 2021-01-09 17:03:55 +01:00
mr-moto
ec725a1efd docs: updated modal hooks docs (#172)
* Update hooks.md

* Update usage.md
2021-01-09 13:35:18 +01:00
Ricardo Pierre-Louis
9a8a006a4e docs: updated snapPoints description example (#164) 2021-01-07 20:41:11 +01:00
Mo Gorhom
88a1538b79 chore: release v2.0.2 v2.0.2 2021-01-06 21:47:38 +01:00
Mo Gorhom
5575dee9eb fix: fixed shouldMeasureHandleHeight evaluation (#158) 2021-01-06 20:47:21 +01:00
Mo Gorhom
b374a0748b chore: updated auto-changelog configs 2020-12-22 16:51:05 +01:00
Mo Gorhom
50c4cf16fd chore: release v2.0.1 v2.0.1 2020-12-22 16:49:23 +01:00