Skip to content

Releases: vtex-apps/drawer

v0.7.0

28 Feb 14:09
Compare
Choose a tag to compare

Changed

  • Drawer now closes on its own if the user clicks a link inside it.

v0.6.1

23 Jan 13:30
Compare
Choose a tag to compare

Changed

  • useLockScroll now blocks the scroll of the body element instead of the html.

v0.6.0

06 Jan 20:11
Compare
Choose a tag to compare

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

27 Dec 13:35
Compare
Choose a tag to compare

Changed

  • Allow any block inside drawer.

v0.4.0

06 Nov 19:14
Compare
Choose a tag to compare

Added

  • Support for new values for slideDirection prop: 'rightToLeft' and 'leftToRight'.

v0.3.0

18 Oct 16:55
Compare
Choose a tag to compare

Added

  • New childrenContainer CSS handle.

Fixed

  • Wrong CSS handle being applied to the close button.

v0.2.2

29 Aug 13:36
Compare
Choose a tag to compare
Release v0.2.2

v0.2.1

22 Aug 23:29
Compare
Choose a tag to compare

Fixed

  • Bug in IE11

v0.2.0

12 Aug 11:36
Compare
Choose a tag to compare

Added

  • New isFullWidth, slideDirection and maxWidth props to Drawer component.
  • Support for .openIconContainer, closeIconContainer and closeIconButton CSS handles.