React Native Bottom Sheet 1.1.0

v1.​1.​0Minor Release
In this article

What’s changed

  • Added maxWidth and placement to BottomSheet and ModalBottomSheet on iOS, Android, and the web. Both props can change while the sheet is open.
    • Set maxWidth to cap the sheet’s width in points, including the detent’s side insets. Narrower containers still use their available width. Omit maxWidth or pass Infinity for no cap.
    • Set placement to align the sheet when the cap leaves extra space. The default is 'center'. Use 'start' or 'end' to align it with the corresponding edge in the current layout direction.
  • Reduced stuttering on iOS while a sheet animates to a detent.
  • Fixed a final-frame jump on iOS, Android, and the web. The sheet now slows to a stop at its target detent, most noticeably when opening from closed to full height.

This release addresses #87, #95, #131. Thanks to @Gnative for contributing.

View the 1.1.0 release on GitHub.

Release card
React Native Bottom Sheet 1.1.0 release card