I have a container:
scroll-snap-points-y: repeat(100%);
snap-type: mandatory;
snap-type: y mandatory;
And three children:
height: 100%;
scroll-snap-align: center;
scroll-snap-stop: always;
This works just as expected in Firefox, but there seems to be a threshold for snapping in Chrome. When scrolling just a small amount, Chrome will snap back to the first child, while Firefox will scroll to the next child. Only after scrolling about 30% of the child height, Chrome will snap to the next one.
This behavior can be seen in this code pen.
Is there any way to disable this hidden threshold and have Chrome scroll to the next child immediately?
scroll-snap
– Revanchism