A full code snippet which reproduces the issue (see GlobalNav file in above repo)
EDIT: Disclosure buttons also seem to be affected. I ended up dropping the prefetches so I could ship the latest SK at the expense of performance for now. Here's the specific commit showing the removal of the sveltekit:prefetch and could be used to reproduce the issue by restoring one of the dropped attributes for MenuItem or the DisclosureButton.
Library version
Add the version of svelte-headlessui that you are using here.
Describe the bug Just started seeing this with kit version 440 and above. When I create a
MenuItem
like:I receive a type error on
sveltekit:prefetch
now whereas before sveltekit beta 440 I did not:To Reproduce Please share one of:
GlobalNav
file in above repo)EDIT: Disclosure buttons also seem to be affected. I ended up dropping the prefetches so I could ship the latest SK at the expense of performance for now. Here's the specific commit showing the removal of the
sveltekit:prefetch
and could be used to reproduce the issue by restoring one of the dropped attributes forMenuItem
or theDisclosureButton
.Library version Add the version of
svelte-headlessui
that you are using here.