A lot of bug fixes + two additions that were requested:
noBodyStyles
: When true
the body doesn't get any styles assigned from Vaul.
setBackgroundColorOnScale
: When false
we don't change body's background color when the drawer is open. tru
e by default
What's Changed
- chore: move build related to dev deps by @huozhi in #257
- Cancel current drag when closing the drawer by @henriqemalheiros in #263
- fix: remove extra 'use client' directive by @Kinbaum in #261
- Make data-vaul-no-drag work if any parent matches by @arsaizdihar in #267
- Use bunchee as bundler by @huozhi in #260
- Fix Non-Dismissable Swiping by @keeganpotgieter in #276
- dont run onopenchange twice by @emilkowalski in #297
- fix lock file by @emilkowalski in #298
- fix: block swipe if in wrong direction by @joaom00 in #314
- fix element existence check by @jacobclyne in #309
- Fixed: elemente -> element by @Abdul535 in #308
- Fix position fixed causing layout shifts on standalone sites (pwa) by @Cuzart in #277
- Issues when using drawer with autofocus input on iOS by @ze-kel in #258
- Batch fixed position style updates by @rortan134 in #337
- fix: drag upwards by @joaom00 in #326
- feat: drawer handle component by @rortan134 in #182
- add warning when drawer context is used outside of scope by @rortan134 in #336
- Fix inappropriate non-modal drawer closure by @artemis-prime in #332
- added setBackgroundColorOnScale prop by @cervantes-x in #338
- Add prop to not add body styles by @emilkowalski in #342
New Contributors
- @henriqemalheiros made their first contribution in #263
- @Kinbaum made their first contribution in #261
- @arsaizdihar made their first contribution in #267
- @keeganpotgieter made their first contribution in #276
- @jacobclyne made their first contribution in #309
- @Abdul535 made their first contribution in #308
- @Cuzart made their first contribution in #277
- @ze-kel made their first contribution in #258
- @artemis-prime made their first contribution in #332
- @cervantes-x made their first contribution in #338
Full Changelog: v0.9.0...v0.9.1