DEV Community

loading...

Discussion on: Why does the page always scroll vertically?

Collapse
norbertb29 profile image
Norbert Bartos • Edited

Yes, thats a good question and an interesting idea. I don't know any reason why they did in this way in the past (maybe coming from terminal? :D ), but nowadays around 50% of the users are using mobile devices to browse websites which is a good reason to keep this vertical scrolling behaviour. They are holding their devices in portrait mode so we can show more content in the screen's viewport if the scroll body is aligned vertically. Also it's much easier to make scroll gestures vertically on phone using one hand + you can add additional information by extending some sections with horizontal scroll (like an image gallery or carousel) and that's what makes it a nice experience.