Environment
Vuetify Version: 2.2.26
Vue Version: 2.6.11
Browsers: Chrome 81.0.4044.129
OS: Windows 10
Steps to reproduce
- add onclick on the 'v-overlay'. like this v-overlay :value="overlay" @click="overlay = false"
- run it
- 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