fix: freezing the list

stop the underlying list scrolling when using the mousewheel or swiping the screen.
This commit is contained in:
niubility000 2024-02-16 13:57:48 +08:00 committed by GitHub
parent cd30888714
commit 47afaeb546
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,8 @@
<template>
<div
id="previewer"
@touchmove.prevent.stop
@wheel.prevent.stop
@mousemove="toggleNavigation"
@touchstart="toggleNavigation"
>