Skip to content

[pull] main from adobe:main - #471

Merged
pull[bot] merged 1 commit into
code:mainfrom
adobe:main
Aug 6, 2026
Merged

[pull] main from adobe:main#471
pull[bot] merged 1 commit into
code:mainfrom
adobe:main

Conversation

@pull

@pull pull Bot commented Aug 6, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

* fix: DialogTrigger inside Tabs

Collection triggers render nothing inside another collection's hidden
pass so the outer collection doesn't inherit items from the inner one.
#10019 did this for MenuTrigger, Select and ComboBox, but DialogTrigger
was missed, so a dialog containing collection content still renders
detached during an ancestor collection's scan and throws — for example a
Menu inside a popover dialog, which builds its items with a null
selection manager.

Mirrors the MenuTrigger fix.

* Move the hidden check below the hooks

Returning early between hooks made useRef, useOverlayTrigger and useId
conditional. MenuTrigger runs all of its hooks before bailing; do the
same here.

* Update packages/react-aria-components/test/Tabs.test.js

* Apply suggestion from @snowystinger

fix lint

---------

Co-authored-by: Rob Snow <snowystinger@gmail.com>
@pull pull Bot locked and limited conversation to collaborators Aug 6, 2026
@pull pull Bot added the ⤵️ pull label Aug 6, 2026
@pull
pull Bot merged commit 6279555 into code:main Aug 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants