vue-menu
vue-menu copied to clipboard
Several Vue Warn received for simple example
I'm receiving different warns when trying to implement a simple context menu, using code from the examples, this warn is triggered when I hover on a child element.

<hsc-menu-style-white>
<hsc-menu-button-menu style="margin: 50px;" @open="open" @close="close">
<button>Click Here</button>
<template slot="contextmenu">
<hsc-menu-item label="MenuItem 1"/>
<hsc-menu-item label="MenuItem 2"/>
<hsc-menu-item label="MenuItem 2">
<hsc-menu-item label="MenuItem 4"/>
<hsc-menu-item label="MenuItem 5"/>
</hsc-menu-item>
</template>
</hsc-menu-button-menu>
</hsc-menu-style-white>
</template>
<script>
export default {
methods: {
open() {
console.log("open");
},
close() {
console.log("close");
}
}
};
</script>
<style>
.box {
box-shadow: 0 0 4pt rgba(0, 0, 0, 0.25);
border-radius: 20pt;
background-color: rgba(255, 255, 255, 0.25);
user-select: none;
cursor: context-menu;
}
</style>```
What warning did you get?
What warning did you get?
I just updated the Issue 😄
Oh, thanks for the report. I'll inspect it.
I cannot reproduce the problem with a cleanly re-created project. Could you provide a repository reproducing the problem?
The warning in your screenshot sais property or method $firebaseRefs is not defined
.
The problem is caused in conflicts between vue-menu
and firebase-things.
+1 for this
Also getting this issue.
An update: This issue occurs even without anything firebase related in my project.
@notchris Could you share your package.json
and package-lock.json
?
@michitaro Sure thing, here is my package.json. Do you want the yarn.lock file as well?
@notchris Thanks!
Do you want the yarn.lock file as well?
Yes, I'd like it.
Sure thing, had trouble with bpaste since it's larger so I put it on my server temporarily. https://notchris.net/example_yarnlock.txt
I could not reproduce the problem with your package.json
and yarn.lock
.
Could you provide a minimum reproduction repository? Or could you make changes on this repository and make a PR?
@michitaro Sure thing, when I get home from work I'll create a mrr.