Open
Description
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
- Clone https://github.com/mhornbacher/nextjs-view-transitions-bug and install the dependencies
- Start the application in dev mode (next dev)
- Visit the application at localhost:3000 (or whatever port it starts up on
- Press on any header row to change the sorting order (either the column or descending)
- See the error (see below for details)
- Change experimental.viewTransition to false in next.config.ts
- Try again and see the behavior is gone
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
Metadata
Metadata
Assignees
Labels
No labels