Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: /docs/components/scroll-progress #477

Closed
Badok opened this issue Dec 29, 2024 · 1 comment
Closed

[bug]: /docs/components/scroll-progress #477

Badok opened this issue Dec 29, 2024 · 1 comment

Comments

@Badok
Copy link

Badok commented Dec 29, 2024

Describe the bug
Error: (0 , framer_motion__WEBPACK_IMPORTED_MODULE_2__.useScroll) is not a function

To Reproduce
Steps to reproduce the behavior:
Insert the component without declaring 'use client'.
('use client' in parent fixes problem. pls add to docs.)

Expected behavior
Should work out of the box, since there are no notes on the page.

Additional context
Next.JS

@dillionverma
Copy link
Collaborator

Fixed in latest commits! Added 'use client' to top. Thanks for catching this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants