Skip to content

1.20.0

Latest
Compare
Choose a tag to compare
@alexstyl alexstyl released this 01 Dec 11:41
· 2 commits to main since this release

What's new

  • Added new confirmDetentChange() callback on both Modal and non-Modal bottom sheet. Works similar to the Material Compose version and it allows you to prevent sheet from being dismissed (or changing its detent) given a specific state (#45 – thanks @TheKeeperOfPie for the request)
  • ModalBottomSheet will be shown immediately if the initial detent is not Hidden. Before this version, the sheet will always be introduced to the screen from the Hidden version.

Fixes

  • Crash when using compose v 1.8.0-alpha06 on android (#44 – thanks @TepesLucian)