Skip to main content

Changelog

v 0.2.7

  • Refactoring and optimization: the code has been refactored and optimized. The component is now much more lightweight and faster.
  • Accessibility: the component is now compatible with basic accessibility standards. You can now open the menu with Enter/Spacebar, close it with Escape and navigate it with Tab and arrows. More complete accessibility features will be added in the future. Check the Accessibility page for more info.

v 0.2.2

  • Bugfix: fixed a bug that prevented the menu from opening in the right spot when the document was scrollable. Refer to the Additional Props page for more info.

v 0.2.0

  • Dynamic positioning: now the context menu will open around the cursor depending on the available space. No more squashed menus.
  • Improve events: removed useless events and shifted the remaining ones.
  • Menu nesting: now you can nest menus one inside the other, each with its own items and styles.
  • Classes: you will now be able to use your project's css classes and modules to style the menu and its individual components.
  • Disable options: you can now disable items of the menu. You can also specify a class to be used on disabled options.
  • Generic fixes and optimizations.

v 0.1.3

  • Enhanced default styles and customization process

v 0.1.2

  • README.md updated. No code changes.