Skip to content

Support for Svelte 4 or Svelte 5 #182

@msdrigg

Description

@msdrigg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions