All the changes can be found below. Order used:
- Added
- Changed
- Deprecated
- Removed
- Fixed
- Security
- Correct position of the menu when out of viewport (#31)
- Fix failing tests
- Update dev packages
- Context menu doesn't show during test in PhantomJS (#20)
- fixed
cannot read parentNode of undefined(#19)
- Added touch support (#17)
- Fix: error while unmounting the component (#16)
- Fix: when context menu is showing, right click shows the browser's context menu (#14)
- Added
attributesprop toMenuItemandContextMenuLayerfor further customization.
- Added examples for custom wrappers using
renderTag. - Added support for
react v15.0.
- Added
renderTagprop to customize the wrapper insideContextMenuLayer.
- Added
connecthelper to render different items based on which component was (right) clicked.
- Fixed
getDefaultPropsin<MenuItem/>.
- Support for nested sub-menus.
- More custom styling options.
- Proper API documentation.
- Hard Dependency on
react-dominside components.
- Internal: use
getBoundingClientRect()instead ofoffsetHeightandoffsetWidth. - Internal: Update packages and scripts.
- Fix class names (
.react-context-menu-link) for links.
- Ability to use custom styles.
- Use
react-bootstap/react-overlaysinstead of custom logic to render the menu. - Make
configureofContextMenuLayeroptional.
- Dependency on bootstrap styling.
- Replace
webpack-dev-serverwithreact-hmre. - Revert to use
createClass. - Switch to Redux from Flummox.
- Menu goes outside when closer to edges.
- Compatibility for react-0.14.
- Updated to babel 6.
- Fixed unbind event handlers.
- Add compatibility with IE (Still needed for IE11).
- Better event handling.
- Only hide the currently visible context menu. On touch screens, the menu closes before the event to click is triggered. This only happened when using multiple contex menus.
- Fixed
hideMenu is not a functionerror while scrolling.
- Added
monitorcomponent to get currentItem and position. - Added
.npmignore.
- Replaced
lodash.mergewithobject-assign. - Now children are not cloned inside
ContextMenucomponent. - Updated dev dependencies.
- Initial Release