This repository has been archived by the owner on Sep 1, 2020. It is now read-only.
Releases: vkbansal/react-contextmenu
Releases · vkbansal/react-contextmenu
v2.0.0
v2.0.0-beta.2
Fixed
- Fixed code for server side rendering
v2.0.0-beta.1
v2.0.0-alpha.2
Fixed
- Fix issue with Firefox triggering click when menu is shown (#37)
v2.0.0-alpha.1
This is a ground up rewrite with much simpler API and slimmer package size.
Added
- Added the ability to access the element on which the right-click occured in
onClick
handler ofMenuItem
. - Hide contextmenu on window resize.
- Right-click when menu is already open, opens the menu at new location.
- Added support for
onShow
andonHide
callbacks onContextMenu
. - Added class
react-contextmenu--visible
for when menu root element is visible
Changed
ContextMenuLayer
higher order function is replaced withContextMenuTrigger
component.- Changed the classnames:
react-context-menu
=>react-contextmenu
react-context-menu-item
=>react-contextmenu-item
react-context-menu-link
=>react-contextmenu-link
react-context-menu-wrapper
=>react-contextmenu-wrapper
submenu
=>react-contextmenu-submenu
disabled
=>react-contextmenu-link--disabled
active
=>react-contextmenu-link--active
Removed
- Dropped support for IE < 11
- Removed dependency on
react-bootstap/react-overlays
andredux