Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ref stealing from children #1820

Merged
merged 2 commits into from Sep 5, 2022
Merged

Fix ref stealing from children #1820

merged 2 commits into from Sep 5, 2022

Conversation

RobinMalfait
Copy link
Collaborator

@RobinMalfait RobinMalfait commented Sep 5, 2022

When a higher-level component (like Transition) provides a ref to its child component, then it will override the ref that was potentially already on the child.

This will make sure that these are merged together correctly.

Fixes: #985

When a higher-level component (like `Transition`) provides a `ref` to
its child component, then it will override the `ref` that was
potentially already on the child.

This will make sure that these are merged together correctly.

Fixes: #985
@vercel
Copy link

vercel bot commented Sep 5, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
headlessui-react ✅ Ready (Inspect) Visit Preview Sep 5, 2022 at 11:09AM (UTC)
headlessui-vue ✅ Ready (Inspect) Visit Preview Sep 5, 2022 at 11:09AM (UTC)

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.

Unable to use Popper with Popover, wrong positions
1 participant