Skip to content

Releases: Temzasse/react-modal-sheet

v3.3.0

27 Oct 11:38
Compare
Choose a tag to compare
  • 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

v3.2.0...v3.3.0

v3.2.0

27 Oct 10:31
Compare
Choose a tag to compare
  • Update dependencies 4d7c6e2
  • Simplify useVirtualKeyboard hook 1c0ddb7

v3.1.0...v3.2.0

v3.1.0

13 May 20:32
Compare
Choose a tag to compare
  • 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

v3.0.0...v3.1.0

v3.0.0

11 May 12:05
Compare
Choose a tag to compare

⚠️ Breaking changes

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.

🦋 Full changelog

v2.2.1...v3.0.0

v2.2.1

11 May 11:33
Compare
Choose a tag to compare
  • Fix the error when touching the screen before <Sheet> is mounted (#152) 14d4585
  • Update disableScrollLocking docs a25d023

v2.2.0...v2.2.1

v2.2.0

08 Oct 15:32
Compare
Choose a tag to compare
  • Fix framer-motion drag constraints bug ee81930

v2.1.0...v2.2.0

v2.1.0

07 Oct 11:28
Compare
Choose a tag to compare

v2.0.0...v2.1.0

v2.0.0

20 Jun 19:55
Compare
Choose a tag to compare

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 to tweenConfig 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

v1.11.1...v2.0.0

v1.11.1

18 Jun 13:11
Compare
Choose a tag to compare

v1.11.0...v1.11.1

v1.11.0

17 Jun 21:06
Compare
Choose a tag to compare
  • Apply z-index -1 and visibility hidden to closed sheet cf85486
  • Increase min framer-motion dep version to 6 01f112b
  • Update dependencies a0c1f94

v1.10.2...v1.11.0