Skip to content

Commit 6a65224

Browse files
committed
Prevent scrolling on mobile
1 parent 4cdb348 commit 6a65224

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/assets/circular.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@
4242
<div
4343
class="orbit-6 panel"
4444
ref="time_panel"
45-
@mousedown="startDrag" @touchstart.passive="startDrag"
45+
@mousedown="startDrag" @touchstart.prevent="startDrag"
4646
></div>
4747
<div class="orbit-0">
4848
<div class="satellite grow-0.8x control"
4949
@click="toggleRestore"
5050
@mousedown="startLongPress"
5151
@mouseup="endLongPress"
52-
@touchstart.passive="startLongPress"
52+
@touchstart.prevent="startLongPress"
5353
@touchend="endLongPress">
5454
<div class="capsule">
5555
<svg height="48px" viewBox="0 -960 960 960" width="48px" fill="white">

0 commit comments

Comments
 (0)