How to scroll X while scrolling Y in ReactJS and Framer motion

Viewed 26
1 Answers

It seems as if the site is still 'scrolling' down on the Y axis, and that that value is simply just transposed to a fake 'X' axis meter and animation that syncs up to it.

The page is not actually moving scroll X as such, so you'd need to do something similar. The accessibility implications of this might not be good however.

Related