Razor Components: Differ for deltas (renderer) ignores IDs #8954
Labels
area-blazor
Includes: Blazor, Razor Components
✔️ Resolution: Duplicate
Resolved as a duplicate of another issue
Using 3.0 preview3 of Razor Components (server-side)
Sample: https://github.com/springy76/RazorComponentsProblems/blob/problem/DifferIgnoresIDs/WebApp/Components/Pages/Index.razor
Because the differ does ignore IDs when removing the first node of a list, instead of really removing the first node then all nodes get its ID (and all attributes and children) reassigned and finally the last one is removed.
The side effect of this (wrong) behavior is that not only far too much deltas are transported, but also all sorts of CSS animations and transitions may be run.
The text was updated successfully, but these errors were encountered: