Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

Releases: vkbansal/react-contextmenu

v2.0.0

15 Jan 04:34
Compare
Choose a tag to compare

Added

  • Support for RTL menus
  • Add minimum CSS styling so that it can be used without any CSS. Also helpful for CSS-in-JS libs.

Fixed

  • Fixed IE11 Custom event
  • Remove event listeners on unmount

Removed

  • Remove necessary a tags.

v2.0.0-beta.2

12 Dec 02:46
Compare
Choose a tag to compare
v2.0.0-beta.2 Pre-release
Pre-release

Fixed

  • Fixed code for server side rendering

v2.0.0-beta.1

05 Dec 05:46
Compare
Choose a tag to compare
v2.0.0-beta.1 Pre-release
Pre-release

Fixed

  • Fixed click behaviour for tablets #42
  • Fix deployment scripts
  • Various README fixes #48 #49

v2.0.0-alpha.2

06 Nov 05:27
Compare
Choose a tag to compare
v2.0.0-alpha.2 Pre-release
Pre-release

Fixed

  • Fix issue with Firefox triggering click when menu is shown (#37)

v2.0.0-alpha.1

26 Oct 09:26
Compare
Choose a tag to compare
v2.0.0-alpha.1 Pre-release
Pre-release

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 of MenuItem.
  • Hide contextmenu on window resize.
  • Right-click when menu is already open, opens the menu at new location.
  • Added support for onShow and onHide callbacks on ContextMenu.
  • Added class react-contextmenu--visible for when menu root element is visible

Changed

  • ContextMenuLayer higher order function is replaced with ContextMenuTrigger 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 and redux

v1.6.3

26 Oct 15:01
Compare
Choose a tag to compare

Changed

  • Update dev packages

Fixed

  • Correct position of the menu when out of viewport (#31)
  • Fix failing tests

v1.6.2

26 Oct 15:02
Compare
Choose a tag to compare

Fixed

  • Context menu doesn't show during test in PhantomJS (#20)

v1.6.1

26 Oct 15:02
Compare
Choose a tag to compare

Fixed

  • fixed cannot read parentNode of undefined (#19)

v1.6.0

26 Oct 15:03
Compare
Choose a tag to compare

Added

  • Added touch support (#17)

Fixed

  • Fix: error while unmounting the component (#16)
  • Fix: when context menu is showing, right click shows the browser's context menu (#14)

v1.5.0

26 Oct 15:03
Compare
Choose a tag to compare

Added

  • Added attributes prop to MenuItem and ContextMenuLayer for further customization.