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

Re-expose el #1230

Merged
merged 2 commits into from
Mar 10, 2022
Merged

Re-expose el #1230

merged 2 commits into from
Mar 10, 2022

Conversation

RobinMalfait
Copy link
Member

@RobinMalfait RobinMalfait commented Mar 10, 2022

We used to expose a custom el when we used a setup() and render()
function. But due to some refactors we got now only have a setup() and
no more el. This causes some problems if people relied on the exposed
el.

In this PR will make sure to re-expose the el that we used to expose.

The only issue is, now that we manually expose a list, we have to
re-expose the $el internal as well.

Fixes: #1222

We used to expose a custom `el` when we used a `setup()` and `render()`
function. But due to some refactors we got now only have a `setup()` and
no more `el`. This causes some problems if people relied on the exposed
`el`.

In this PR will make sure to re-expose the `el` that we used to expose.

The only issue is, now that we manually expose a list, we have to
re-expose the `$el` internal as well.
@vercel
Copy link

vercel bot commented Mar 10, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

headlessui-react – ./packages/playground-react

🔍 Inspect: https://vercel.com/tailwindlabs/headlessui-react/CmGNdwYKBP896WCzHWhoRv99vm93
✅ Preview: https://headlessui-react-git-re-expose-el-ref-tailwindlabs.vercel.app

headlessui-vue – ./packages/playground-vue

🔍 Inspect: https://vercel.com/tailwindlabs/headlessui-vue/4SK7DELT8GhHVegWQoCfx3iX3WRj
✅ Preview: https://headlessui-vue-git-re-expose-el-ref-tailwindlabs.vercel.app

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.

Menu Items with Popper modifications stopped working
1 participant