scrollsnap-polyfill icon indicating copy to clipboard operation
scrollsnap-polyfill copied to clipboard

How to solve scroll snapping with elements of different heights

Open agitator opened this issue 7 years ago • 0 comments

I got several section with differents heights and would like to scroll freely till a larger section ends and then scroll the next section up to the snap point. Another problem I face is, if the height of the last section is not high as the viewport or scroll-snap-points definition, I'm not able to reach for example the footer because it keeps scrolling back up.

How can I achieve this?

agitator avatar Jun 17 '17 14:06 agitator