Releases: szhsin/react-menu
Releases · szhsin/react-menu
v1.9.0
- 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
- 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
Feature: add boundingBoxRef
and boundingBoxPadding
prop to support positioning menu within a specific container. (#69)
v1.6.1
Improve submenu experience - delay closing when items in parent list are hovered. (#62)
v1.6.0
- 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
- 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
- Add TypeScript declarations.
- Allow prefixing styles prop keys with '$' to avoid name conflict with CSS property.
v1.3.0
Add applyHOC and applyStatics: utilities that help create HOC of react-menu components.
v1.2.2
- Finish testing on React 17; update peer dependencies.
- Resolve issues for IE 11 support.
v1.2.0
Add portal prop: allowing menu to be rendered as a direct child of document.body