Skip to content

Latest commit

History

History
434 lines (232 loc) 路 22 KB

CHANGELOG.md

File metadata and controls

434 lines (232 loc) 路 22 KB

Changelog

Improvements

  • chore: updated example dependencies (9176e35).
  • refactor: updated modal ref calls to use optional chaining (#725)(by @jcgertig)
  • Use optional chaining to make sure that the ref exisist

  • Make sure ref exists with optional chaining (9ace1c6).

Fixes

  • fix: prevent hiding bottom sheet container on platforms other than Android (#719) (3da1a2e).

Documentations

v4.1.3 - 2021-10-18

Improvements

  • chore: updated @gorhom/portal dependency (e777487).
  • refactor: updated modal ref calls to use optional chaining (#699)(by @jcgertig) (ea19e3f).
  • chore: updated sponsor link (2b624cc).
  • chore: updated contact list scroll indicator style to black (9cc8b17).

Fixes

  • fix: prevent unstable mounting for modals (#697) (657505a).

Documentations

v4.1.2 - 2021-10-12

Fixes

  • fix: hide the bottom sheet on closed (#690).

v4.1.1 - 2021-10-03

Improvements

  • refactor: allow to render component inside default backdrop (#662).
  • refactor: calling dismiss without a key will remove the current modal if any (#676)(by @Shywim) (fd4bb8d).

v4.1.0 - 2021-09-26

Features

  • feat: added handling for keyboard height change (#656)(by @Ferossgp)
  • React on keyboard height change

  • Handle null previous state android (3c5fc57).

Improvements

  • chore: updated @gorhom/portal dependency (366e46b).

Fixes

  • fix: updated initial position to screen height (#657).
  • fix: remove 'removeListener' as it is now deprecated (#635)(by @brianathere) (f03b05b).
  • fix: revert changes on BottomSheetModal that blocked stack behavour (15225ae).
  • fix: updated asigning velocity in animate worklet (#650) (38b635e).

Documentations

  • docs: fix overDragResistanceFactor description (#633).

v4.0.3 - 2021-09-02

Fixes

  • fix: allow content to be accessible #619 (f1baf0e).

v4.0.2 - 2021-08-31

Fixes

  • fix: updated types for styles (#616).

v4.0.1 - 2021-08-30

Fixes

  • fix: pass correct params to animateToPosition (#610).

Documentations

  • docs: add kickbk as a contributor for bug, test (#612).
  • docs: add vonovak as a contributor for code (#611).

v4.0.0 - 2021-08-30

Improvements

  • chore: updated close method type (ca3a11a).

Documentations

  • docs: added auto-deployment for documentation website (3b14281).
  • docs: updated readme file (84fdcf6).

v4.0.0-alpha.30 - 2021-08-22

Improvements

  • refactor: added forceClose and remove force param from close method (3dd5796).
  • refactor: clean up animation configs variables #572 (8e002e1).
  • chore: delete debug view from builds (7ead04e).

Fixes

  • fix: prevent the sheet from snapping while layout being calculated (445a964).

v4.0.0-alpha.29 - 2021-08-18

Features

  • feat: added backgroundStyle, handleStyle & handleIndicatorStyle to bottom sheet (2211765).

Fixes

  • fix: prevent keyboard change to snap sheet while user is interacting (dd632b0).

v4.0.0-alpha.28 - 2021-08-17

Improvements

  • chore: updated github workflow and templates (db68fac).
  • chore: updated auto-close action version (991d214).

Fixes

  • fix: provide dynamic initial snap points while layout is calculating (#584).
  • fix: prevent snap points lower than 0 (95ea72a).

v4.0.0-alpha.27 - 2021-08-15

Improvements

  • refactor: rename Touchables.android to Touchables, to allow web usage (a95e34f).

v4.0.0-alpha.26 - 2021-08-15

Features

  • feat: added onClose callback to BottomSheet (ee64545).

Improvements

  • chore: updated package dependencies (e11dc84).
  • refactor: updated footer api (2cf7289).
  • chore: renamed the branch to master (a0bb98a).

Fixes

  • fix: updated animated closed position value on detached (833879f).

Documentations

  • docs: added code of conduct file (18a32e5).

v4.0.0-alpha.25 - 2021-08-06

Fixes

  • fix: fixed the multiline issue on BottomSheetTextInput #411 (e21d676).

v4.0.0-alpha.24 - 2021-08-05

Fixes

  • fix: prevent animatedIndex from flickering caused by content resizing (7fef5d0).

v4.0.0-alpha.23 - 2021-08-05

Features

  • feat: allow custom pan gesture and scroll handler customisation (#525) (by @vonovak)
  • feat: allow custom gesture handling

  • chore: self-review

  • chore: remove usememos

  • feat: add scrollEventListenersHook param

  • refactor: rename props for hooks

  • chore: rebase on alpha21

  • refactor: rename hooks (review points 4, 5)

  • refactor: introduce useHandleSettingScrollable (review point 6)

  • fix: do not get stuck in transition

  • refactor: added gesture handler internal context

  • refactor: renamed example to CustomGestureHandling

  • refactor: updated new props types

  • refactor: allow to override scrollable state

  • fix: scrolling momentum not right when scrolling from top

  • Revert "fix: scrolling momentum not right when scrolling from top"

This reverts commit c23910c70fa8beb395dd6c7c15487bf0950bdea1.

  • chore: extract duplicated segment into const

  • feat: allow overriding animatedProps

  • refactor: make ref handling more explicit

  • refactor: make scrollEventThrottle prop non-overridable

  • chore: updated custom gesture example

  • fix: updated animateToPosition params order

  • chore: updated new props description

Co-authored-by: Mo Gorhom <gorhom@me.com> (4c32da7).

Improvements

  • chore: remove unnecessary useMemos (#515).
  • chore: removed enableFlashScrollableIndicatorOnExpand prop (e447da4).
  • refactor: updated animateOnMount default value to true (6293fe4).

Fixes

  • fix: allow user to override showsVerticalScrollIndicator value on scrollables (11cdc34).

v4.0.0-alpha.22 - 2021-07-20

Improvements

  • refactor: allow closing animation to be interrupted (937f9ee).

v4.0.0-alpha.21 - 2021-07-18

Features

  • feat: react to index prop changes (55af54b).

Fixes

  • fix: updated detached bottom sheet handling (603f492).

v4.0.0-alpha.20 - 2021-07-13

Improvements

  • refactor: removed none from keyboard behavior and set interactive as default (26d3b71).

Fixes

  • fix: prevent stuck state when animation is interrupted (01e1e87).

v4.0.0-alpha.19 - 2021-07-04

Fixes

  • fix: stablise animated index when reacting to keyboard status (26132c1).

v4.0.0-alpha.18 - 2021-07-01

Fixes

  • fix: fixed handling dynamic snap point on mount snapping (35b2fcb).

v4.0.0-alpha.17 - 2021-06-29

Fixes

  • fix: updated android keyboard handling (f53306d).

v4.0.0-alpha.16 - 2021-06-27

Features

  • feat: allow view scrollble to over-drag sheet (2c2ca4e).

Fixes

  • fix: updated keyboard handling for Android (2d74ab0).

v4.0.0-alpha.15 - 2021-06-26

v4.0.0-alpha.14 - 2021-06-26

Fixes

  • fix: refactored snap points reaction to handle keyboard state (#497).

v4.0.0-alpha.13 - 2021-06-15

Fixes

  • fix: prevent animation to same position (9636f84).

v4.0.0-alpha.12 - 2021-06-12

Features

  • feat: added detached bottom sheet (#487).

Improvements

  • chore: updated portal dependency (70d72ec).

Documentations

  • docs: updated detached prop description (9d4779b).

v4.0.0-alpha.11 - 2021-06-06

v4.0.0-alpha.10 - 2021-06-06

Features

  • feat: added pull to refresh implementaion (016a01f).
  • feat: introduced more stable handling for dynamic snap points (3edb2d1).

Fixes

  • fix: dismiss keyboard when sheet position change on Android (8f34990).

v4.0.0-alpha.9 - 2021-06-03

Features

  • feat: added keyboard input mode for android (069c4b6).

Improvements

  • chore: export useBottomSheetInternal, added animatedPosition and animatedIndex to useBottomSheet (fb3df59).

v4.0.0-alpha.8 - 2021-06-02

Improvements

  • chore: minor refactor (#473).
  • chore: minor simplifications (#467).

Fixes

  • fix: updated typings for sectionlist to mirror rn core types (#475).
  • fix: prevent animated content height value from getting below zero (d9b417f).
  • fix: updated BottomSheetContainer measuring on android (d0e5227).

v4.0.0-alpha.7 - 2021-05-30

Features

  • feat: allow handle to drag sheet without effecting the scrollable (580b763).

v4.0.0-alpha.6 - 2021-05-28

Fixes

  • fix: scrollble container style crash (a4b9b93).

v4.0.0-alpha.5 - 2021-05-27

Features

  • feat: added pre-integrated VirtualizedList component (2d4d69d).

Fixes

  • fix: updated keyboard height in container calculation (2599f6c).
  • fix: re-snap to current position when snap points get updated (bb8e202).
  • fix: handle initial closed sheet (4bc40d9).

v4.0.0-alpha.4 - 2021-05-25

Features

  • feat: added footer component (#457).

v4.0.0-alpha.3 - 2021-05-23

Improvements

  • refactor: removed deprecated props (#452).

Fixes

  • fix: on mount flicker on fixed sheet (48c4988).
  • fix: prevented animatedSnapPoints reaction from running randomly (bf4e461).

v4.0.0-alpha.2 - 2021-05-23

Improvements

  • refactor: updated handling animated heights (#451).

v4.0.0-alpha.1 - 2021-05-16

Features

  • feat: added snap to position (#443).

v4.0.0-alpha.0 - 2021-05-16

Features

  • feat: added enable pan down to close (#437).

Improvements

  • refactor: create one generic scrollable component (#442).
  • refactor: converted all internal state/memoized variables to reanimated shared values. (#430).
  • chore: updated dependencies (7d2a947).
  • chore: patch react-native-gesture-handler for android (26a0d64).

Fixes

  • fix: sheet positioning on modals (ee573e9).
  • fix: prevent animatedPosition from becoming undefined (400d7b9).