Skip to content

fix(react): preserve refs on frozen children - #3909

Open
pintu544 wants to merge 1 commit into
tailwindlabs:mainfrom
pintu544:fix/frozen-preserve-child-ref
Open

pintu544 wants to merge 1 commit into
tailwindlabs:mainfrom
pintu544:fix/frozen-preserve-child-ref

Conversation

@pintu544

@pintu544 pintu544 commented Oct 28, 2026 •

Copy link
Copy Markdown

Closes #3908

Frozen currently replaces its child’s ref with the forwarded ref, which may be null. Preserve the child’s existing ref and sync it with any forwarded Frozen ref.

Add regression coverage for immediate child refs through Combobox.Options and for merging refs when Combobox.Options uses as={Fragment}.

Validation:

  • npm run react test combobox — 275 passed, 4 skipped
  • Full React suite — 30 suites, 1,070 passed, 30 skipped, 57 snapshots
  • TypeScript check, Prettier check, and git diff --check passed

package-lock.json is unchanged.

@vercel

vercel Bot commented Oct 28, 2026

Copy link
Copy Markdown

@pintu544 is attempting to deploy a commit to the Tailwind Labs Team on Vercel.

A member of the Team first needs to authorize it.

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.

ComboboxOptions clears the ref on its immediate DOM child

1 participant