Skip to content

Releases: mrwweb/clicky-menus

v1.5.2 - Fix link attribute regression

30 Oct 21:10
cbb26b2

Choose a tag to compare

  • Resolve issue since 1.2.0 where replaced parent link attributes were not correctly transfered to the button. Closes #27
  • Make sure scripts works fully when loaded in the <head>

v1.5.0 - Improved ESC key handling

27 May 18:15

Choose a tag to compare

Change ESC key event handler to fire on keydown instead of keyup and use .preventDefault() instead of .stopPropogation() when focus is inside a submenu or parent of open submenu. This will prevent the ESC key from closing dialog elements when a clicky-menu is inside one.

v1.4.0 Improved unique IDs for submenus

29 Apr 22:19

Choose a tag to compare

  • Further differentiate automatically-generated submenu IDs by including a unique ID for each clicky-menu.

v1.3.0 - Easier open menu closes, ESC key improvements

25 Apr 15:43
64032d5

Choose a tag to compare

  • NEW! Use the data-clicky-menus-close attribute on any element to automatically close the open submenu. It should be set to the ID of the element with the clicky-menu class. Fixes #21.
  • Don't let ESC propogate when pressed on an item inside a submenu. This should generally prevent dialogs and other toggle features from closing when they contain a menu. Fixes #22
  • Strip special characters from automatically generated submenu IDs and add an increment (e.g. -1) to the end of each ID to get much closer to guaranteeing it is unique. Fixes #12

1.2.0 - Programmatically close submenus & more!

22 May 17:11

Choose a tag to compare

  • Programmatically close menus with 3rd-party scripts (#18, see also: #17)
  • Minor CSS improvement to make things more likely to work out of the box (#15)
  • Demo improvements (#6, #9)
  • Now on NPM!

First Release

05 Apr 22:50
6c0e850

Choose a tag to compare

Done retroactively for future improvements :)