Skip to content

Commit 38679c1

Browse files
committed
Prevent scrolling while touching image-crop
1 parent a812cac commit 38679c1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/index.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
image-crop { display: block; }
1+
image-crop {
2+
touch-action: none;
3+
display: block;
4+
}
25
image-crop.nesw { cursor: nesw-resize; }
36
image-crop.nwse { cursor: nwse-resize; }
47
image-crop.nesw .crop-box,

0 commit comments

Comments
 (0)