Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox complains about mozPressure #110

Open
crystalfp opened this issue Dec 25, 2021 · 0 comments
Open

Firefox complains about mozPressure #110

crystalfp opened this issue Dec 25, 2021 · 0 comments

Comments

@crystalfp
Copy link

Thanks for this useful plugin! Hope to being able soon to read the documentation in English.

Running my application that defines a contextmenu over a list of <div> (see below) inside Firefox gives the following warning: MouseEvent.mozPressure is deprecated. Use PointerEvent.pressure instead. Everything works as expected, I want only to make developers aware of this. (Vue 3 on Windows)

Here is my template:

<template>
 <v-contextmenu ref="contextmenu">
    <v-contextmenu-item @click="showContent">Menu Item 1</v-contextmenu-item>
    <v-contextmenu-item>Menu Item 2</v-contextmenu-item>
    <v-contextmenu-item>Menu Item 3</v-contextmenu-item>
  </v-contextmenu>

  <div class="doc-list" v-contextmenu:contextmenu>
    <div class="doc-list-item" v-for="item in store.state.documentWorklist" :key="item.id">{{ item.title }}</div>
  </div>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant