Commit 8b0d0b4
committed
fix(breadcrumb): restore useRef to enable proper Stencil attributePassing
After testing multiple approaches (type changes, conditional configs,
disabling attributePassing), discovered that removing useRef may have
CAUSED the nested navigation ARIA issue rather than fixing it.
Navigation component with useRef works correctly in tests. This commit
restores useRef and ref={_ref} to breadcrumb to match the working
pattern and enable proper Stencil attribute delegation from custom
element to root nav element.1 parent 9195667 commit 8b0d0b4
File tree
1 file changed
+8
-1
lines changed- packages/components/src/components/breadcrumb
1 file changed
+8
-1
lines changedLines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
2 | 7 | | |
3 | 8 | | |
4 | 9 | | |
| |||
14 | 19 | | |
15 | 20 | | |
16 | 21 | | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| |||
23 | 29 | | |
24 | 30 | | |
25 | 31 | | |
| 32 | + | |
26 | 33 | | |
27 | 34 | | |
28 | 35 | | |
| |||
0 commit comments