Alt-F4
Alt-F4 copied to clipboard
Laggy scrolling on mobile
Weird laggyness occurs whilst scrolling on mobile. Not entirely sure what the cause is but it would be nice to get to the bottom of it if possible.
Video from Pixel 5 using chrome: https://media.alt-f4.blog/fileshare/laggy-scrolling-on-mobile.mp4
This probably was caused by spider css calculations. which were updated, and in current implementation are not calculated while spider is offscreen.
It appears that this is still an issue but I believe it originates from the heavy image and video files in articles. Given the importance of the images I think it's a worthwhile tradeoff to have laggy scrolling sometimes.
In that case we should explore is it possible to load those images asynchronously.