Skip to content

Commit 6c10714

Browse files
committed
✨ Add will-change attribute to prevent laggy scrolling
1 parent f2e0ca5 commit 6c10714

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/Parallax.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@
174174
175175
&.is-fixed {
176176
position: fixed;
177+
will-change: transform;
177178
178179
> img {
179180
height: 100vh;

0 commit comments

Comments
 (0)