-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
WindowVirtualizer is not properly work with static exported nextjs app: "Uncaught TypeError: X is not a function #322
Comments
Could you make a reproduction code or give me more detailed information? |
@inokawa of course I just accidentally pressed the enter button, my bad :D already updated |
Thank you for the information! https://nextjs.org/docs/architecture/nextjs-compiler#minification |
Yeah, it is. Thank you for tip. By the way, without setting |
Probably fixed in |
WindowVirtualizer does not work properly with static exported nextjs app.
Rendered items are not clickable and in console we can see error "Uncaught TypeError: X is not a function".
To Reproduce
Build and start nextjs app by using 'output: "export"' flag in next config.
Clicking on links has no effect (other events neither) after scroll down for few pixels.
Console output will be like this on every scroll event:
Codesandbox with exmaple: https://codesandbox.io/p/devbox/virtua-windowvirtualizer-bug-hj8w6c
Expected behavior
No uncaught errors and clickable items.
Platform:
Additional context
And, yeah, rolling back to v0.17.6 helped me.
The text was updated successfully, but these errors were encountered: