The documentation of useTransform() in Framer React Website
In an example code, we are using useViewportScrolll() which is deprecated (according to VSCode and has been updated to useScroll()). I tried the same snippet with useScroll() and it is working the same.
The documentation of
useTransform()
in Framer React WebsiteIn an example code, we are using
useViewportScrolll()
which is deprecated (according to VSCode and has been updated touseScroll()
). I tried the same snippet withuseScroll()
and it is working the same.The code snippet is this
Link to the page: useTransform() Docs
P.S.: Accidentally gave the issue in wrong repo so closing it...