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

Support for Svelte 4 or Svelte 5 #182

Open
msdrigg opened this issue Oct 21, 2024 · 0 comments
Open

Support for Svelte 4 or Svelte 5 #182

msdrigg opened this issue Oct 21, 2024 · 0 comments

Comments

@msdrigg
Copy link

msdrigg commented Oct 21, 2024

Describe the bug
This library doesn't support Svelte 4 or 5 because it imports get_current_component from svelte/internal which is a warning in svelte 4 and a hard error in svelte 5. There is no clear workaround for using this import in svelte 5 sveltejs/svelte#9189

To Reproduce
Any repo with svelte 5 and svelte-headless

Library version
Add the version of svelte-headlessui that you are using here: Latest on NPM

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

1 participant