Next.js 14: Framer Motion useScroll with element container not updating
I’m using Next.js v14.2.5 and Framer Motion v11.3.21. I’m working on a card carousel that scrolls horizontally. To track the scrolling progress, I’m using the useScroll
hook from Framer Motion. However, I’m facing an issue where the useScroll
hook is not detecting the scrolling or updating the scrolling value correctly.