Skip to content

Commit bf30864

Browse files
Fix: scroll repainting on windows
1 parent db929de commit bf30864

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/routes/__root.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ function Root() {
3737
id="scroll-container"
3838
style={{
3939
position: "relative",
40-
height: "100vh",
40+
height: "100dvh",
4141
overflowY: "auto",
42+
willChange: "scroll-position",
43+
contain: "paint",
4244
}}
4345
>
4446
<Header />

0 commit comments

Comments
 (0)