-
Notifications
You must be signed in to change notification settings - Fork 1.2k
View Transitions break table and/or collection sorting #8220
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
Comments
Thanks for the issue and heads up. Would you be willing to try with the 'nightly' tag? We recently merged some fixes for collections in SSR/Suspense/etc environments. |
@snowystinger sure! If that is helpful :). I'll share any findings soon :) Did you by any chance fix the collections object clearing when being interacted with after SSR? I built an entire wrapper using |
@snowystinger I tried it with the |
Probably because React checks Ideally React would check if |
@devongovett wow, thank you so much for the thoughtful fix! |
Provide a general summary of the issue here
Since NextJS 15.3-canary.0 sorting a table causes a application crash if viewTransitions are enabled
I believe this is a ReactJS issue. However it is curious enough that it seems worthwhile to inform you guys about it as well. Hopefully this is just a curiosity :)
See vercel/next.js#79069 for detailed breakdown
🤔 Expected Behavior?
The table should sort with or without view transitions enabled in react
😯 Current Behavior
If view transitions are enabled. The react logic for rendering the newly sorted table fails catastrophically
💁 Possible Solution
No response
🔦 Context
No response
🖥️ Steps to Reproduce
Version
1.8.0
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
MacOS
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
The text was updated successfully, but these errors were encountered: