-
Notifications
You must be signed in to change notification settings - Fork 47
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
Scroll element is null #82
Comments
Same here, it suddenly started showing up and I noticed it just today. |
the problem is with: React Strict Mode |
can be fixed:
|
I have the same issue with Next 13.1 and React 18.2, looks like the plugin (which did a great job so far) is aging and requires a lifting. |
@c7nj7n: turn off StrictMode |
Thank you for your response @dangquanghuy ! If I understand correctly, strict mode is only active on the dev environment in Next.js, hence there should not be an issue on production? |
@c7nj7n : you're welcome. Yes only issue with dev. |
Hey guys! Is there any chance this is fixed on a PR with the provided code? I would love to keep using StrictMode on Nextjs |
+1 |
2 similar comments
+1 |
+1 |
Have a message that
Missing required elements: {scrollEl: null, holderEl: div, wrapperEl: div}
Upgrade react to 18 and using nextjs.
Problem noticed on nextjs 12 and 13 version.
Try different
scrollElement
props: window, body or selector. No changes.Try to use dynamic import on client side - also no result.
Has anyone same issue?
The text was updated successfully, but these errors were encountered: