I can not do better explaining - since I am not a react-star.
Am working on something similar to this (using - and GSAP.... so I should really ditch Framer Animation for this solution here)...
BUT.
If some of you experience some problems, then try to use the useLayoutEffect instead of useEffect.
This since the useLayoutEffect hooks into before the very first paint to the browser, which useEffect isnt.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I can not do better explaining - since I am not a react-star.
Am working on something similar to this (using - and GSAP.... so I should really ditch Framer Animation for this solution here)...
BUT.
If some of you experience some problems, then try to use the useLayoutEffect instead of useEffect.
This since the useLayoutEffect hooks into before the very first paint to the browser, which useEffect isnt.