Releases: vtex-apps/drawer
Releases · vtex-apps/drawer
v0.7.0
Changed
- Drawer now closes on its own if the user clicks a link inside it.
v0.6.1
Changed
useLockScroll
now blocks the scroll of the body element instead of the html.
v0.6.0
Added
- Allows dragging from outside of the drawer.
Changed
- Preserves momentum after swipe release.
- Prevents rendering of content if the menu has not been opened.
Fixed
- Issue where client rendering on the Portal component would be inconsistent with SSR.
- "Accordeon effect" when opening the drawer, when the scrollbars are visible in the user's OS.
v0.5.0
Changed
- Allow any block inside drawer.
v0.4.0
Added
- Support for new values for
slideDirection
prop:'rightToLeft'
and'leftToRight'
.
v0.3.0
Added
- New
childrenContainer
CSS handle.
Fixed
- Wrong CSS handle being applied to the close button.
v0.2.2
Release v0.2.2
v0.2.1
Fixed
- Bug in IE11
v0.2.0
Added
- New
isFullWidth
,slideDirection
andmaxWidth
props toDrawer
component. - Support for
.openIconContainer
,closeIconContainer
andcloseIconButton
CSS handles.