Commit b1ce875
Fix TreeView selection when loader is replaced with content
When a loader (spinner/skeleton) node is selected and replaced with actual content,
the selection state (aria-selected) now properly transfers to the first loaded node.
This ensures keyboard navigation maintains the expected selection state.
Co-authored-by: francinelucca <[email protected]>1 parent 679537d commit b1ce875
File tree
1 file changed
+9
-0
lines changed- app/components/primer/alpha/tree_view
1 file changed
+9
-0
lines changedLines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
282 | 291 | | |
283 | 292 | | |
284 | 293 | | |
| |||
0 commit comments