Skip to content

Commit b4a0efe

Browse files
committed
Optimised touch actions on spaces
1 parent f980ff6 commit b4a0efe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

react-spaces/src/Styles.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
.spaces-resize-handle {
3131
position: absolute;
3232
z-index: 9999;
33+
touch-action: none;
3334
}
3435

3536
.spaces-resize-handle.resize-left {
@@ -63,6 +64,7 @@
6364
.spaces-space {
6465
position: absolute;
6566
overflow: hidden;
67+
touch-action: none;
6668
}
6769

6870
.spaces-space .spaces-space-inner {
@@ -76,4 +78,5 @@
7678
.spaces-space.scrollable .spaces-space-inner,
7779
.spaces-space.scrollable-a {
7880
overflow: auto;
81+
touch-action: auto;
7982
}

0 commit comments

Comments
 (0)