Releases: stipsan/react-spring-bottom-sheet
Releases · stipsan/react-spring-bottom-sheet
v3.0.3
v3.0.2
v3.0.1
v3.0.0
3.0.0 (2020-12-28)
Bug Fixes
BREAKING CHANGES
- The resize observer logic is rewritten to no longer require wrapper elements like
[data-rsbs-footer-padding]
. If you're not using custom CSS and are simply importingreact-spring-bottom-sheet/dist/style.css
in your app then this isn't a breaking change for you.
If you're using custom CSS, here's the breaking changes:
[data-rsbs-header-padding]
removed, update selectors to[data-rsbs-header]
[data-rsbs-content-padding]
removed, update selectors to[data-rsbs-scroll]
[data-rsbs-footer-padding]
removed, update selectors to[data-rsbs-footer]
[data-rsbs-antigap]
removed, update selectors to[data-rsbs-root]:after
and make sure to addcontent: '';
.[data-rsbs-content]
is changed, update selectors to[data-rsbs-scroll]
.- The
<div style="overflow:hidden;">
wrapper that used to be between[data-rsbs-content]
and[data-rsbs-content-padding]
is now within[data-rsbs-scroll]
, and no longer hardcodeoverflow: hidden
, add[data-rsbs-content] { overflow: hidden; }
to your CSS.