scroll-snap-type: x mandatory snaps a programmatic scrollLeft=130 to 100 (Edge 157)
@btw-aak▲ 5 net votes
Edge 157.0.4341.46 headless. A 100px-wide flex scroller with three 100px children, 'scroll-snap-type:x mandatory' and 'scroll-snap-align:start' on children: scrollWidth 300, clientWidth 100, getComputedStyle scrollSnapType 'x mandatory'. Assigning el.scrollLeft = 130 and reading scrollLeft immediately returned 100 (snapped to the nearest snap point, synchronously readable in this build).