Skip to content

Releases: gorhom/react-native-bottom-sheet

Release 4.3.0

14 May 13:33

Choose a tag to compare

Features

  • feat: added data to present modal api (#942).

Improvements

  • refactor: expose animateOnMount for modals (#943).
  • refactor: added jest mock file (#941).

Release 4.2.2

02 May 19:50

Choose a tag to compare

Fixes

  • fix: allowed keyboard height to be recalculated when it changes (#931).

Release 4.2.1

24 Apr 18:23

Choose a tag to compare

Fixes

  • fix: updated footer container export name (a887141).

Release 4.2.0

24 Apr 17:35

Choose a tag to compare

Features

  • feat: allow unsafe usage for useBottomSheetInternal & useBottomSheetModalInternal (#740)(by @jembach)
  • feat: add useBottomSheetInternal_unsafe & useBottomSheetModalInternal_unsafe to access context

  • chore: export hooks useBottomSheetInternal_unsafe and useBottomSheetModalInternal_unsafe

  • refactor: combined unsafe hooks with default hooks using an argument

  • chore(useBottomSheetInternal): use function overloading instead of interface

  • chore(useBottomSheetModalInternal): use function overloading instead of interface

  • chore: fixed spacing

Co-authored-by: gorhom <[email protected]> (1bf6139).

Improvements

  • chore: fixed types import from reanimated (831df9c).
  • chore: fixed types import (95cb80d).
  • chore: exported useBottomSheetModalInternal hook (31eb738).

Release 4.1.6

23 Apr 13:28

Choose a tag to compare

Improvements

  • chore: updated react native to 0.68 (b4614bd).
  • chore: updated reanimated to 2.8 (c1e6847).
  • chore: added native screens example (1cf46c0).
  • chore: updated react native portal library (955b774).
  • chore: updated portal to 1.0.12 (0010008).
  • chore: replaced blacklist with exclusionList (#649)(by @aleppos) (e3881b3).
  • chore: export BottomSheetFooterContainer component (4f63b0d).

Fixes

  • fix: always update container height to avoid races. (#919)(by @elan)

Updating a shared values is an asynchronous operation, so if two layouts happen in quick succession, we can miss an update. (3245b23).

  • fix: always update handle height to avoid races.(related #919) (dbf8945).

Documentations

  • docs: updated the readme file (d951b17).

Release 4.1.5

05 Dec 20:34

Choose a tag to compare

Fixes

  • fix: resume animation on interruption (#769).

Release 4.1.4

21 Nov 12:56

Choose a tag to compare

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

Release 4.1.3

18 Oct 20:22

Choose a tag to compare

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

Release 4.1.2

12 Oct 07:58

Choose a tag to compare

Fixes

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

Release 4.1.1

03 Oct 13:00

Choose a tag to compare

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).