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
attributes
prop toMenuItem
andContextMenuLayer
for further customization.
- Added examples for custom wrappers using
renderTag
. - Added support for
react v15.0
.
- Added
renderTag
prop to customize the wrapper insideContextMenuLayer
.
- Added
connect
helper to render different items based on which component was (right) clicked.
- Fixed
getDefaultProps
in<MenuItem/>
.
- Support for nested sub-menus.
- More custom styling options.
- Proper API documentation.
- Hard Dependency on
react-dom
inside components.
- Internal: use
getBoundingClientRect()
instead ofoffsetHeight
andoffsetWidth
. - Internal: Update packages and scripts.
- Fix class names (
.react-context-menu-link
) for links.
- Ability to use custom styles.
- Use
react-bootstap/react-overlays
instead of custom logic to render the menu. - Make
configure
ofContextMenuLayer
optional.
- Dependency on bootstrap styling.
- Replace
webpack-dev-server
withreact-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 function
error while scrolling.
- Added
monitor
component to get currentItem and position. - Added
.npmignore
.
- Replaced
lodash.merge
withobject-assign
. - Now children are not cloned inside
ContextMenu
component. - Updated dev dependencies.
- Initial Release