v3.3.0
- Don't modify snapPoints prop value and update y initial value 7018321
- Fix useDimensions initial value issue 1dc8c88
- Switch from parcel to vite for example app b88687a
- Merge pull request #171 from rogorman9/main 95c2a7a
- allow overriding drag behavior 372c6c2
https://github.com/Temzasse/react-modal-sheet/compare/v3.2.0...v3.3.0
v3.2.0
- Update dependencies 4d7c6e2
- Simplify useVirtualKeyboard hook 1c0ddb7
https://github.com/Temzasse/react-modal-sheet/compare/v3.1.0...v3.2.0
v3.1.0
- Add keyboard avoidance guide and refine docs bdd132d
- Fix ghost caret issue by blurring focused inputs upon drag start 9f34270
- Add tolerance to value comparisons d51acb1
- Cleanup code e4d7b71
- Fix example dev linking setup ed6265a
- Add virtual keyboard avoidance example c9aee7d
- Cleanup examples 9fcb798
https://github.com/Temzasse/react-modal-sheet/compare/v3.0.0...v3.1.0
v3.0.0
The default export of Sheet
has been changed to named export:
// ❌ OLD
import Sheet from 'react-modal-sheet';
// ✅ NEW
import { Sheet } from 'react-modal-sheet';
There shouldn't be any other breaking changes (🤞🏻) but some fields in package.json
have changed that might affect the way your bundler imports the library so there might be some breaking changes for you depending on what bundler you use.
- Fix release script 6150b65
- Merge pull request #141 from Temzasse/tsup 672750b
- Update github workflow 9ffd87d
- Add attw to CI checks 74dc61b
- Update deps and scripts a0281f8
- Fix broken imports 9b7f54a
- Update SSR example da85e43
- Change Sheet default export to named export 6d952de
- Add eslintignore 08907a2
- Update example deps 4cefa5f
- Update min node engine version 4e1fe5c
- Fix tests 46bd40f
- Update github action f267a9c
- Update lint rules and fix issues 46c5f7a
- Replace tsdx with tsup c76b553
https://github.com/Temzasse/react-modal-sheet/compare/v2.2.1...v3.0.0
v2.2.1
- Fix the error when touching the screen before
<Sheet>
is mounted (#152) 14d4585 - Update disableScrollLocking docs a25d023
https://github.com/Temzasse/react-modal-sheet/compare/v2.2.0...v2.2.1
v2.2.0
- Fix framer-motion drag constraints bug ee81930
https://github.com/Temzasse/react-modal-sheet/compare/v2.1.0...v2.2.0
v2.1.0
- Use npm instead of yarn 34560f6
- feat: adds prop to opt-out of scroll-locking (#138) 17f8500
- Update github actions c463de0
https://github.com/Temzasse/react-modal-sheet/compare/v2.0.0...v2.1.0
v2.0.0
New features ✨
- Add
Sheet.Scroller
component to handle scrolling for sheet content with touch devices. Read more here.
Breaking changes 🔥
- The
springConfig
prop has been renamed totweenConfig
in order to reflect the internal change to using tween transition instead of a spring for the sheet animations (spring overshoot was a problem). - Change
Sheet.Backdrop
background color to be translucent black instead of gray to work better with iOS modal effect. - Remove unnecessary highlight layer from iOS modal effect.
Changelog
- Update docs and scrollable snap points example 1e06c2d
- Simplify and rename sheet transition config prop 5cd8ef3
- Cleanup code 90e3139
- Add sheet scroller documentation fc39ac3
- Change springConfig prop to generic transitionConfig 4566195
- Update example app 91293f0
- Update readme styled-component example fbcc7c9
- Add SheetScroller component 78375c9
- Update sheet backdrop background color 481ee48
- Remove ios modal effect highlight 829dcd6
- Update styled-component dev dep 6092cbf
https://github.com/Temzasse/react-modal-sheet/compare/v1.11.1...v2.0.0
v1.11.1
- Fix snap point value calculation b5a11f3
- Update browserlist db ca03169
- Update README.md (#125) 406d580
https://github.com/Temzasse/react-modal-sheet/compare/v1.11.0...v1.11.1
v1.11.0
- Apply z-index -1 and visibility hidden to closed sheet cf85486
- Increase min framer-motion dep version to 6 01f112b
- Update dependencies a0c1f94
https://github.com/Temzasse/react-modal-sheet/compare/v1.10.2...v1.11.0