Skip to content

Commit

Permalink
removes autoscroll behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotBraem committed Jan 22, 2024
1 parent f156eb4 commit 82e11c8
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/App.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
@import "bootstrap";

:root {
overscroll-behavior: none;
touch-action: none;
}

body {
overflow-y: scroll;
}
Expand Down Expand Up @@ -66,7 +71,12 @@ a {

.tldraw__editor {
position: fixed;
inset: 0px;
top: 0px;
left: 0px;
bottom: 0px;
right: 0px;
width: 100%;
height: 100%;
overflow: hidden;
}

Expand Down

0 comments on commit 82e11c8

Please sign in to comment.