Paul Posted on Feb 9, 2018 Poll: body overflow #css #overflow #discuss Front-end devs: do you set "scroll" on the vertical overflow to avoid page shift? Top comments (1) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Collapse Expand Mohcin Bounouara Mohcin Bounouara Mohcin Bounouara Follow Write code, talk about it.. just trying to imagine and build Location Morocco Work Software Developer Joined Jun 29, 2017 • Mar 17 '18 Dropdown menu Copy link Hide To avoid this, overflow-y: scroll is correct, but if you still have the some problem you should use it on the html tag: html { overflow-y: scroll; } Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse
Top comments (1)
To avoid this, overflow-y: scroll is correct, but if you still have the some problem you should use it on the html tag:
html {
overflow-y: scroll;
}