Vuetify: [Bug Report] v-overlay doesnot work for onclick

Created on 5 May 2020  路  1Comment  路  Source: vuetifyjs/vuetify

Environment

Vuetify Version: 2.2.26
Vue Version: 2.6.11
Browsers: Chrome 81.0.4044.129
OS: Windows 10

Steps to reproduce

  1. add onclick on the 'v-overlay'. like this v-overlay :value="overlay" @click="overlay = false"
  2. run it
  3. when click the v-overlay element, it should invoke some something, like close/ hide the v-overlay in this example

Expected Behavior

v-overlay should support onclick event

Actual Behavior

setting the onclick on v-overlay does not work. nothing happened.

Reproduction Link

https://codepen.io/hejun7/pen/oNjpEmw

VOverlay has workaround triage

Most helpful comment

Use @click.native

>All comments

Use @click.native

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Antway picture Antway  路  3Comments

jofftiquez picture jofftiquez  路  3Comments

ricardovanlaarhoven picture ricardovanlaarhoven  路  3Comments

efootstep picture efootstep  路  3Comments

dohomi picture dohomi  路  3Comments