Skip to content

v2.2 Non-modal support

Latest

Choose a tag to compare

@devantic devantic released this 20 May 11:07
· 2 commits to main since this release

New nonmodal prop allows a non-full height sheet to be opened non-modally, or become non modal at a specified snappoint index
e.g.

<Bottomsheet  height="50vh" nonmodal>...</Bottomsheet>

<Bottomsheet snappoints="auto" nonmodal={1}>...</Bottomsheet>

The latter is useful for creating a "detent" that sticks to bottom of the screen that expands to full height on click and changes content, similar to stickyHeader but more flexible.