Skip to content

Releases: sparksuite/react-accessible-dropdown-menu-hook

v4.0.0

22 Feb 22:35
af74c87
Compare
Choose a tag to compare

Improved

  • Breaking change: The default behavior is now to no longer focus the first menu item when the menu is opened via a click (#313)
  • Ability to enable focusing the first menu item when the menu is opened via a click using the focusFirstItemOnClick option (#313)

v3.2.0

21 Jan 19:36
bb3e929
Compare
Choose a tag to compare

Improved

  • Support custom HTML elements for the button when using TypeScript (#290)

Fixed

  • Fix race condition adding/removing listeners, which allowed the escape key to break behavior in rare cases (#293)

v3.1.0

21 Sep 21:08
1612e9b
Compare
Choose a tag to compare

Improved

  • Expose the moveFocus() function (#282)

v3.0.0

13 Aug 13:44
9401baa
Compare
Choose a tag to compare

Improved

  • Breaking change: The default behavior is now to focus the first menu item when the button is clicked (#279)
  • Ability to disable focusing the first menu item via disableFocusFirstItemOnClick option (#279)

v2.3.1

28 Jul 21:19
70926e6
Compare
Choose a tag to compare

Fixed

  • Escape key wouldn't close menu if toggle button was focused (#277)

v2.3.0

21 May 17:12
7fb956b
Compare
Choose a tag to compare

Improved

  • Optional keyboard controls have been implemented (#272)

v2.2.2

23 Apr 18:05
d460aac
Compare
Choose a tag to compare

Fixed

  • Prevent a possible race condition (#268)

v2.2.1

23 Apr 12:38
09208ac
Compare
Choose a tag to compare

Fixed

  • Work around a crash caused by other transpilers incorrectly transpiling RADMH’s code (#266)

v2.2.0

25 Nov 23:03
7d66fbd
Compare
Choose a tag to compare

Improved

  • Update virtually all packages in this repo (#215)
  • Replace Enzyme with Testing Library (#215)

v2.1.2

25 Nov 22:27
284c3b0
Compare
Choose a tag to compare

Fixed

  • Work around a bug introduced in React v17 when portals are present on the page (#217)
  • No longer listen for click events while the dropdown is closed (#217)