Skip to content

Releases: software-mansion-labs/react-native-bottom-sheet

v0.16.0-next.2

22 Jun 10:42
v0.16.0-next.2
4dfe6b4

Choose a tag to compare

v0.16.0-next.2 Pre-release
Pre-release
  • Fixed nativeOverlay sheets sizing against the React parent instead of the full window (#24).
  • Fixed Android sheets sometimes failing to open (by @Titozzz; #33).
  • Fixed Android sheets snapping to fully open on detach (by @lklima).

v0.16.0-next.1

17 Jun 18:58
v0.16.0-next.1
ed7a83a

Choose a tag to compare

v0.16.0-next.1 Pre-release
Pre-release
  • Improved behavior when detents are updated midway through an active drag. Position clamping and snap-index selection are based on a snapshot taken at drag start.

v0.15.3

16 Jun 20:34
v0.15.3
be48f1b

Choose a tag to compare

  • Prevented scrim taps from dismissing modal sheets with a programmatic-only closed detent (by @lklima).
  • Fixed an iOS issue where the scrim of a modal sheet flashed on content-height changes when animateContentHeight was false.

v0.15.2

16 Jun 11:59
v0.15.2
a7f2594

Choose a tag to compare

  • Fixed an iOS glitch where a sheet could briefly render at its final open position before the opening animation began (by @Titozzz; #29).

v0.15.1

15 Jun 14:13
v0.15.1
8e74d77

Choose a tag to compare

  • Fixed Android compatibility with React Native versions below 0.85.
  • Fixed Android gesture-takeover handling with ancestor gesture systems like React Native Gesture Handler’s GestureHandlerRootView. This prevents them from incorrectly recognizing gestures after a sheet takes over the touch stream.

v0.15.0

14 Jun 13:54
v0.15.0
3472a52

Choose a tag to compare

  • Added nativeOverlay for ModalBottomSheet (#16). When this is true, the sheet is presented in a native full-window overlay, letting it stack with native modal screens.
  • Enabled fixed detents to exceed the content height, unlocking configurations like [0, 'content', 600] (#21).
  • Added extendUnderStatusBar, allowing sheets to extend under the status bar (#20).
  • Added animateContentHeight. Use this to opt out of the content-height animation when the content already animates its own height (e.g., via useReanimatedKeyboardAnimation from React Native Keyboard Controller).
  • Added event.nativeEvent.index to onPositionChange (by @arekkubaczkowski). This represents the fractional detent index.
  • Fixed unexpected snap overshoot on Android.
  • Addressed onPositionChange updates drifting out of sync during settle.
  • Prevented disabled scrollables from blocking drag when disableScrollableNegotiation is true (#19).
  • To prevent ambiguity, enforced specifying detents in ascending order by height.
  • Moved modal-sheet-specific props from BottomSheetProps to ModalBottomSheetProps.

v0.14.1

03 Jun 09:08
v0.14.1
be1a7e4

Choose a tag to compare

  • Fixed inconsistent host height on Android by measuring against the safe-area frame instead of raw window dimensions (by @lklima).

v0.14.0

02 Jun 09:57
v0.14.0
0fe91fd

Choose a tag to compare

  • Changed onPositionChange from a numeric JS callback to a native direct event. Handlers now receive NativeSyntheticEvent<{ position: number }>; read the value from event.nativeEvent.position instead of the previous position.
  • Added wrapNativeView to let consumers wrap the native sheet view that emits onPositionChange. Pass Animated.createAnimatedComponent and provide a Reanimated worklet handler (e.g., from useEvent) to handle position updates on the UI thread.

v0.13.0

01 Jun 16:36
v0.13.0
a281a8c

Choose a tag to compare

  • Made onIndexChange fire as soon as a snap starts rather than once it settles.

v0.12.0

31 May 10:06
v0.12.0
800fdc7

Choose a tag to compare

  • Added scrimOpacities for per-detent scrim-opacity control (#4). Learn more in the README.