Skip to content

Releases: szhsin/react-menu

v4.1.0

10 Oct 09:04
85210a6
Compare
Choose a tag to compare
  • feat: export all types from package type declarations #1105
  • fix: do not set focus on menu after unmounted #1106

v4.0.3

13 Aug 12:16
63fb2ed
Compare
Choose a tag to compare
  • Fix: menu cannot be closed after losing focus #1040

v4.0.2

19 Jul 12:49
b95b792
Compare
Choose a tag to compare
  • Fix menu misaligning with anchor on the first open in some cases #1018

v4.0.1

09 Jul 13:46
d5ce299
Compare
Choose a tag to compare
  • Prevent default action from "Enter" key events #1008

v4.0.0

12 Jun 07:11
9410989
Compare
Choose a tag to compare

Breaking changes:

  • Replace offsetX and offsetY props with gap and shift
  • Replace arrowClassName and arrowStyle with arrowProps
  • Drop ES5 support

Please checkout the v4 migration guide for more details.

Enhancements/bug fixes

  • Remove the undocumented skipOpen prop
  • Upgrade to use react-transition-state v2
  • Add migration guides and FAQs

v3.5.3

29 Apr 02:28
8653e0d
Compare
Choose a tag to compare

v3.5.2

05 Mar 01:00
06be21e
Compare
Choose a tag to compare
  • Fix accessibility errors caused by presentational/functional elements in menu. #854

v3.5.1

26 Feb 12:41
837032a
Compare
Choose a tag to compare
  • Fix menu re-open after activating items using keyboard. #844

v3.5.0

25 Feb 05:49
8a83070
Compare
Choose a tag to compare
  • useHover – a new hook that can be used with ControlledMenu to create hover menu. #839
  • useClick – a new hook that can be used with ControlledMenu to create toggle menu. #839
  • Allowing children of menu to support render prop pattern. #843

v3.4.1

02 Feb 12:08
8f2ff9b
Compare
Choose a tag to compare
  • Fix menu item link being activated twice when using the 'Enter' key #816