The lag is most apparent on mobile phones (tested on iPhone 15 Pro Max) when scrolling on Safari mobile. Also present when scrolling fast on desktop browsers (Mac Pro M2) you can suddenly go over the page boundaries and then glitch out back in.
Introducing <ViewTransitions /> to my layout (or any page that has it) introduces a 0.5 second tick of lag on the page. Seems to have something to do with scroll restoration if I could guess.
No View Transitions tag: https://portfolio-2024-d4p52tzhz-fredericoo.vercel.app
With View Transitions tag: https://portfolio-2024-xzc7lqvjw-fredericoo.vercel.app/