Comments (2)
I just tried the browser-install version for a bit and I ran into a similar issue. I also had trouble accessing the showMenu
ref function.
When I upgraded this package to v4.0.0, I am almost positive I ran all this and confirmed it worked at that point. But I may be mistaken.
Nowadays it is common to not support a browser version as it complicates the library creation process. I'd rather drop support for it than continue to debug the issue. I never have used the browser version myself, and from what I'm seeing it's not a popular option. The time spent is not worth it there.
So I've removed the instructions from the README.
As far as what the issue is - it probably has something to to do with the way Vue 3 deals with refs. If you use the new Vue 3 composition API - you may be able to get around this. I personally don't use the new composition myself.
Sorry for the trouble. Thanks for raising.
from vue-simple-context-menu.
Okay. Thanks for the quick response :)
from vue-simple-context-menu.
Related Issues (20)
- Feature: Divider Line Support HOT 8
- type definition HOT 6
- One context menu for the whole app. HOT 4
- Feature: Disabled Menu Item HOT 3
- Include fontawesome icons in contextual menu (use v-html) HOT 7
- Using jQuery Event as event... HOT 1
- Not firing option-clicked handler?
- Option click method not being executed HOT 1
- Inline Template issues? HOT 2
- Updating to Vue 3 HOT 3
- Nuxt and simple context menu HOT 3
- Conditional suppress options in contextmenu? HOT 2
- Upgrade to Vue 3 HOT 1
- How to add Submenu for context menu HOT 1
- import css not build with npm run build HOT 2
- Trigger showMenu event on text selection HOT 2
- Cannot read properties of undefined (reading 'showMenu') HOT 4
- Deprecation warning HOT 2
- sideEffects vs css file inclusion HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-simple-context-menu.