overlay: no pointer events when not hosting. #381
This commit is contained in:
parent
d1f1be4e86
commit
f32fc989b9
1 changed files with 1 additions and 0 deletions
|
|
@ -13,6 +13,7 @@
|
||||||
class="overlay"
|
class="overlay"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
data-gramm="false"
|
data-gramm="false"
|
||||||
|
:style="{ pointerEvents: hosting ? 'auto' : 'none' }"
|
||||||
@click.stop.prevent
|
@click.stop.prevent
|
||||||
@contextmenu.stop.prevent
|
@contextmenu.stop.prevent
|
||||||
@wheel.stop.prevent="onWheel"
|
@wheel.stop.prevent="onWheel"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue