You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Thank you for the information!
It can be reproduced. And it looks like a SWC's minify issue (like vercel/next.js#58959 ?) because setting swcMinify: false to nextconfig to use terser solved the error.
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: