Skip to content

Releases: szhsin/react-menu

v1.9.0

28 Mar 11:28
e8caed0
Compare
Choose a tag to compare
  • Feature: automatically discover bounding box based on css overflow value, thanks @bozdoz (#79, #81)
  • Feature: automatically reposition menu after its size has changed (with ResizeObserver) (#87)
  • Feature: add reposition and repositionFlag props for explicitly repositioning menu (#96, #102)
  • Fix: Improve messaging when containerRef is null (#103)

v1.8.0

09 Mar 13:11
206c569
Compare
Choose a tag to compare
  • Feature: add core.css which includes only essential styles that make menu functional (positioning, arrow display) (#73).
  • Feature: add theming support and theme-dark.css (#78).

v1.7.0

24 Feb 11:51
50ace31
Compare
Choose a tag to compare

Feature: add boundingBoxRef and boundingBoxPadding prop to support positioning menu within a specific container. (#69)

v1.6.1

15 Feb 12:03
c9f8b6c
Compare
Choose a tag to compare

Improve submenu experience - delay closing when items in parent list are hovered. (#62)

v1.6.0

07 Feb 10:42
116f826
Compare
Choose a tag to compare
  • Feature: add captureFocus prop to ControlledMenu (#27).
  • Feature: fire onClick event on menu items in a radio group (#47).
  • Fix: use window.innerHeight for viewport height to improve experience on mobile browsers (#48).
  • Fix a few issues in default stylesheet.

v1.5.0

10 Jan 13:27
8a161a4
Compare
Choose a tag to compare
  • Feature: add keepOpen event prop for customising when menu is closed. (#25)
  • Fix: ensure all boolean values in modifier and event are truly boolean. (#24)
  • Fix: allow to add falsy child in Menu. (#23)

v1.4.0

06 Jan 13:21
d6c23dc
Compare
Choose a tag to compare
  • Add TypeScript declarations.
  • Allow prefixing styles prop keys with '$' to avoid name conflict with CSS property.

v1.3.0

27 Dec 09:46
fe19a90
Compare
Choose a tag to compare

Add applyHOC and applyStatics: utilities that help create HOC of react-menu components.

v1.2.2

20 Dec 12:24
93c66aa
Compare
Choose a tag to compare
  • Finish testing on React 17; update peer dependencies.
  • Resolve issues for IE 11 support.

v1.2.0

13 Dec 10:13
b543aea
Compare
Choose a tag to compare

Add portal prop: allowing menu to be rendered as a direct child of document.body