katalyst / kpop

MIT License
5 stars 1 forks source link

Fix - instantly scroll back to position instead of animating #16

Closed AlanCornthwaiteKatalyst closed 1 year ago

AlanCornthwaiteKatalyst commented 1 year ago

When the scrim closes we called ScrollTo which depending on browser support would default to scroll-behaviour:smooth. Forcing the scroll reset of the body content to be instant instead.