You have implemented the View Transitions API to animate a list filtering or reordering operation. The logic seems sound: you wrap your state update in document.startViewTransition , and you assign a dynamic view-transition-name to each list item. But instead of a smooth morph, the screen snaps instantly to the new state. In your console, you see the death knell of the animation: Aborting view transition: duplicate view-transition-name 'card-123' found. This error is a hard stop. The browser refuses to guess which DOM node "owns" the transition name. In complex React applications—especially those using responsive layouts or dashboard patterns—this is the single most common implementation hurdle. Here is the root cause analysis and a production-grade solution to guarantee uniqueness without sacrificing code maintainability. The Why: Global Namespace vs. Component Isolation The View Transitions API relies on a flat, global namespace. view-transition-name ...
Android, .NET C#, Flutter, and Many More Programming tutorials.