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

Portal doesn't work in [email protected] after clientside navigation between pages. #2975

Open
niko-docue opened this issue Feb 9, 2024 · 2 comments

Comments

@niko-docue
Copy link

niko-docue commented Feb 9, 2024

What package within Headless UI are you using?

@headlessui/vue

What version of that package are you using?

1.7.19

What browser are you using?

Firefox Developer Edition, Vivaldi

Reproduction URL

https://stackblitz.com/edit/nuxt-starter-uvfgv2?file=pages%2Findex.vue

Describe your issue

While navigating with clientside navigation between pages portals on other than the initial page seems to stop working randomly.
These portals used to work quite fine untill we migarated from Nuxt 3.8.1 to 3.10.x and from @headlessui/[email protected] to 1.7.19.

@niko-docue niko-docue changed the title Portal doesn't work in [email protected] after navigation between pages with different layouts Portal doesn't work in [email protected] after clientside navigation between pages. Feb 9, 2024
@mikkokut
Copy link

mikkokut commented Mar 3, 2024

I have investigated this issue, and it seems to be unrelated to the Nuxt version. The issue exists from headlessui/[email protected] (does not exist in 1.7.16 or earlier) and is most probably caused by this pull request: #2700

@mikkokut
Copy link

mikkokut commented Mar 3, 2024

This seems to be related: #2933

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

No branches or pull requests

2 participants