Skip to content

Commit 64ea6a8

Browse files
mperrottifrancinelucca
authored andcommitted
Correct inactive ActionList.Item behavior in NavList and SelectPanel contexts (#5866)
Co-authored-by: Marie Lucca <[email protected]>
1 parent 9eec099 commit 64ea6a8

16 files changed

+481
-198
lines changed

.changeset/floppy-peaches-obey.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@primer/react': patch
3+
---
4+
5+
Improves how we detect context for inactive item messaging by checking the `role` on `ActionList` instead of relying on parent components, making the logic more robust and consistent. It also fixes incorrect behavior in `NavList` and `SelectPanel`, and improves accessibility by correcting `aria` relationships on tooltip buttons.
Loading
810 Bytes
Loading
Loading
789 Bytes
Loading
Loading
Loading
Loading
870 Bytes
Loading
Loading

0 commit comments

Comments
 (0)