Skip to content

v1.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Nov 11:19
e6c75bc

Overview

Changes

  • Added maxWidth and placement to BottomSheet and ModalBottomSheet on iOS, Android, and 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 web. The sheet now slows to a stop at its target detent, most noticeably when opening from closed to full height.