This repository was archived by the owner on Jul 23, 2025. It is now read-only.
Releases: vaakian/contextmenu
Releases · vaakian/contextmenu
v1.1.2
v1.1.0 beta.3
Bug Fixes
- update dependencies structure: move
@contextmenu/coreas a peer dependency of@contextmenu/react&@contextmenu/vue, so developer can get a warning whencoreis not installed along withreactorvue, for the purpose of importing built-in themes. fa7a8f9 - Fix extended native props issue in
@contextmenu/react. f39fb98
Improvement
- Add react test coverage. 1cddf72
v1.1.0 beta.2
feature:
Add new UI preset, just import the css(make sure you have @contextmenu/core installed):
import '@contextmenu/core/default.css'v1.0.0
v0.0.6
Notice:
v1.0is comming soon!
The logic of nested menu is completely redesigned, and will come up withReactsupport as well.
Feature
- create nested menu using
createNestedMenufor native javascript.
createNestedMenu({
el: '#group',
items: [
{ el: '#item1' },
{ el: '#item2', subMenu: { el: subMenu1 } },
{ el: '#item3', subMenu: { el: '#group_1' } },
],
})v-contextMenudirective
<div v-contextMenu />
I am a context menu!🎉
</div>Bug fixes
- Docs wrong path matching
- potential un-disposed side effects
- SSR issue (Not yet ready)
v0.0.6-beta.3
Bug fixes
- hide sub menu on
scroll
v0.0.6-beta.2
New feature 🎉
refer to the documentations
Bug fixes 🐛
- potential memory leak when doing
MenuItem.dispose()
v0.0.6-beta.1
Bug fixes:
- Losing reactivity when passing target/hideOnClick
refto theContextMenucomponent. - comment/docs update.
v0.0.6-beta.0
Currently impelemented:
-
Core
- Basic top level menu using custom element
- Deeply nested menu
-
Vue (both Vue2 & Vue3, empowered by Vue Demi)
-
useContextMenuhook -
<ContextMenu />component
-
-
React
-
useContextMenuhook -
<ContextMenu />component
-
Docs are coming soon~🎉