Skip to content

fix(AvatarStack): track nested interactive children - #8796

Open
nemo-crypto wants to merge 1 commit into
primer:mainfrom
nemo-crypto:nemo/avatar-stack-nested-focus
Open

nemo-crypto wants to merge 1 commit into
primer:mainfrom
nemo-crypto:nemo/avatar-stack-nested-focus

Conversation

@nemo-crypto

Copy link
Copy Markdown
Contributor

Problem

AvatarStack listens for children added directly to its body, but not for a button added inside an existing wrapper. Observe nested child changes so the stack removes its own tab stop when an interactive descendant becomes available.

Verification

Added a Chromium regression that inserts a nested button after initial render. The AvatarStack suite passed (9 tests).

@nemo-crypto
nemo-crypto requested a review from a team as a code owner November 19, 2026 06:54
@changeset-bot

changeset-bot Bot commented Nov 19, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 7ff1d31

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant