{"id":350486,"date":"2021-08-24T12:13:30","date_gmt":"2021-08-24T19:13:30","guid":{"rendered":"https:\/\/css-tricks.com\/?p=350486"},"modified":"2021-08-24T12:13:32","modified_gmt":"2021-08-24T19:13:32","slug":"scrollbar-reflowing","status":"publish","type":"post","link":"https:\/\/css-tricks.com\/scrollbar-reflowing\/","title":{"rendered":"Scrollbar Reflowing"},"content":{"rendered":"\n
This is a bit of advice for developers on Macs I’ve heard quite a few times, and I’ll echo it: go into System Preferences > General > Show scroll bars<\/strong> and set to always<\/strong>. This isn’t about you, it’s about the web. See, the problem is that without this setting on, you’ll never experience scrollbar-triggered layout shifts, but everyone else with this setting on will. Since you want to design around not causing this type of jank, you should use this setting yourself.<\/p>\n\n\n\n\n\n\n\n Here’s Stefan Judis demonstrating that usage of viewport units can be one of the causes:<\/p>\n\n\n\n