overlay: no pointer events when not hosting. #381

This commit is contained in:
Miroslav Šedivý 2024-04-04 23:48:59 +02:00
parent d1f1be4e86
commit f32fc989b9

View File

@ -13,6 +13,7 @@
class="overlay"
tabindex="0"
data-gramm="false"
:style="{ pointerEvents: hosting ? 'auto' : 'none' }"
@click.stop.prevent
@contextmenu.stop.prevent
@wheel.stop.prevent="onWheel"