Skip to content

Commit

Permalink
Merge pull request #30 from gaeaehrlich/master
Browse files Browse the repository at this point in the history
preventing user selection when moving
  • Loading branch information
ykadosh authored Apr 30, 2021
2 parents e7e10ef + 7a01c26 commit 2151429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Movable/Movable.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.movable {
touch-action: none; // Needed when calling preventDefault() on touch events, see https://stackoverflow.com/a/42288386/1096470
user-select: none;
user-select: none; // For preventing user selection when moving
}

0 comments on commit 2151429

Please sign in to comment.