v4.4.0
- Add
autoPadding
prop toSheetScroller
e012756
https://github.com/Temzasse/react-modal-sheet/compare/v4.3.0...v4.4.0
v4.3.0
- Add
disableDrag
prop toSheetScroller
and update example bdfa434 - Add
dev:host
script f99f627 - Don't allow dragging past the upmost snap point 9d40b76
https://github.com/Temzasse/react-modal-sheet/compare/v4.2.0...v4.3.0
v4.2.0
- Allow overriding sheet container height via
style
and add new example f09a739
https://github.com/Temzasse/react-modal-sheet/compare/v4.1.0...v4.2.0
v4.1.0
- Revamp snap point implementation to fix multiple issues f7a732c
- Change the way snap points are calculated. Snap points are now correctly calculated from the sheet height instead of the window height. This makes it easier to reason about snap points. Additionally, the opening animation of the sheet has been moved from
AnimatePresence
to auseEffect
with directly callinganimate
to allow reading the sheet height that is needed for calculating the snap points in the new approach.
- Change the way snap points are calculated. Snap points are now correctly calculated from the sheet height instead of the window height. This makes it easier to reason about snap points. Additionally, the opening animation of the sheet has been moved from
- Refactor internal hooks into separate files 4463b89
- Deprecate
rootId
prop in favor ofmodalEffectRootId
5c44def - Add
modalEffectThreshold
prop and improve iOS modal effect for snap points e6608e9 - Enable
StrictMode
in example app 72ecdf1 - Turn example app into PWA aa8a944
https://github.com/Temzasse/react-modal-sheet/compare/v4.0.2...v4.1.0
v4.0.2
- Fix reduced motion initial y position and add example 185f64e
- Improve dev setup ba6d416
- Update dependencies 4567045
https://github.com/Temzasse/react-modal-sheet/compare/v4.0.1...v4.0.2
v4.0.1
- Update package-lock.json 235ced9
- Change min node version in engines back to 18 acb92fa
https://github.com/Temzasse/react-modal-sheet/compare/v4.0.0...v4.0.1
v4.0.0
- Merge pull request #184 from Temzasse/feat/migrate-to-motion d2c93ff
- Fix dts generation in dev mode 67f2183
- Export individual types for sheet component props 456062a
- Merge cleanup 54eed9d
- Update lock files b8466d4
- Improve dev setup 4ea90aa
- Remove backdrop tap highlight color on ios b129b6f
- Omit lib from example's vite deps optimization 458ac28
- Use zIndex from props if given 79b60bb
- Add mention to docs about strictmode and framer-motion 3428052
- Update ssr example 725ef9f
- Update csr example app 6c199bf
- Replace framer-motion with motion 72867e4
- Update github actions to run checks for PRs 89636fb
- Add vscode workspace settings b54847d
- Update .npmrc 89166c2
- Add pre-push git hook dd5aa5c
- Replace eslint and prettier with biome 6c44151
https://github.com/Temzasse/react-modal-sheet/compare/v3.5.0...v4.0.0
v3.5.0
- Add Shadow DOM example f8ed161
- Use
composedPath
in scroll prevention to support Shadow DOM 8c95dbc
https://github.com/Temzasse/react-modal-sheet/compare/v3.4.1...v3.5.0
v3.4.1
- Merge pull request #182 from marcinbittel/main 84482ea
- fix: enable sheetscroller to handle onScroll and onTouchStart on touch devices fe0b8ed
https://github.com/Temzasse/react-modal-sheet/compare/v3.4.0...v3.4.1
v3.4.0
- Fix ssr issue in modal effect 3eeae3c
- Make modal effect animated based on drag 5ef080b
- Update example app 2e5d366
- Remove @react-aria/utils dependency 3031ff4
- Revert "Update usePreventScroll hook" d97061c
- Update usePreventScroll hook 11f7d8b
- Simplify content height example 47fc296
- Add layout animation to content height example f2fb875
- Update vite cache dir e5f8bd2
https://github.com/Temzasse/react-modal-sheet/compare/v3.3.0...v3.4.0