![html - Prevent absolutely positioned element in { overflow-y: auto } div from triggering scrollbar - Stack Overflow html - Prevent absolutely positioned element in { overflow-y: auto } div from triggering scrollbar - Stack Overflow](https://i.stack.imgur.com/F8Kn1.jpg)
html - Prevent absolutely positioned element in { overflow-y: auto } div from triggering scrollbar - Stack Overflow
![Ahmad Shadeed on Twitter: "Use `overflow-y: auto` rather than `overflow-y: scroll` to show a scrollbar only when needed. #CSS https://t.co/679BPszE1j" / Twitter Ahmad Shadeed on Twitter: "Use `overflow-y: auto` rather than `overflow-y: scroll` to show a scrollbar only when needed. #CSS https://t.co/679BPszE1j" / Twitter](https://pbs.twimg.com/media/EhPpvfFXkAAOyM4.jpg)
Ahmad Shadeed on Twitter: "Use `overflow-y: auto` rather than `overflow-y: scroll` to show a scrollbar only when needed. #CSS https://t.co/679BPszE1j" / Twitter
![Ivan Akulov on Twitter: "CSS tip: if you use `overflow: scroll`, it's likely you actually want `overflow: auto`. “overflow: scroll” means “*always* show scrollbars”. You won't see the difference on a Mac Ivan Akulov on Twitter: "CSS tip: if you use `overflow: scroll`, it's likely you actually want `overflow: auto`. “overflow: scroll” means “*always* show scrollbars”. You won't see the difference on a Mac](https://pbs.twimg.com/media/EZ3eQ_eWsAAFQne.png)
Ivan Akulov on Twitter: "CSS tip: if you use `overflow: scroll`, it's likely you actually want `overflow: auto`. “overflow: scroll” means “*always* show scrollbars”. You won't see the difference on a Mac
![css - Different behavior of flexbox with (overflow-y) scroll on Safari, Firefox and Edge VS Chrome - Stack Overflow css - Different behavior of flexbox with (overflow-y) scroll on Safari, Firefox and Edge VS Chrome - Stack Overflow](https://i.stack.imgur.com/Jrb5O.png)