rgossiaux / svelte-headlessui

Unofficial Svelte port of the Headless UI component library
https://svelte-headlessui.goss.io
MIT License
1.78k stars 96 forks source link

When I click on Menu or Popover button, thing append #131

Closed stephane-klein closed 1 year ago

stephane-klein commented 1 year ago

Hi,

I execute:

$ git clone https://github.com/rgossiaux/svelte-headlessui .
$ npm ci
$ npm run dev

I go to http://127.0.0.1:3000/docs/menu , I click on Option menu button, nothing append 🙁

I go to http://127.0.0.1:3000/docs/popover , I click on Solutions menu button, nothing append 🙁

Is this problem is linked to versioning issues?

$ npm list
@rgossiaux/svelte-headlessui@1.0.2 /home/stephane/git/github.com/rgossiaux/svelte-headlessui
├── @babel/cli@7.16.0
├── @babel/preset-env@7.16.5
├── @rgossiaux/svelte-heroicons@0.1.2
├── @sveltejs/adapter-auto@1.0.0-next.4
├── @sveltejs/kit@1.0.0-next.202
├── @tailwindcss/forms@0.4.0
├── @tailwindcss/typography@0.5.0
├── @testing-library/jest-dom@5.16.1
├── @testing-library/svelte@3.0.3
├── @types/jest@27.0.3
├── @typescript-eslint/eslint-plugin@4.33.0
├── @typescript-eslint/parser@4.33.0
├── autoprefixer@10.4.0
├── babel-jest@27.4.5
├── cssnano@5.0.12
├── eslint-config-prettier@8.3.0
├── eslint-plugin-svelte3@3.2.1
├── eslint@7.32.0
├── jest@27.4.5
├── mdsvex@0.9.8
├── postcss-load-config@3.1.0
├── postcss@8.4.5
├── prettier-plugin-svelte@2.5.1
├── prettier@2.5.1
├── rehype-autolink-headings@6.1.1
├── rehype-slug@5.0.1
├── svelte-check@2.7.1
├── svelte-inline-compile@0.0.1
├── svelte-jester@2.1.5
├── svelte-popperjs@1.2.7
├── svelte-preprocess@4.10.0
├── svelte@3.48.0
├── svelte2tsx@0.5.10
├── tailwindcss@3.0.2
├── ts-jest@27.1.2
├── tslib@2.3.1
└── typescript@4.6.2
sureshjoshi commented 1 year ago

I just tried your reproduction steps, and it seems to work as expected. Which browser are you using? Are there any errors or warnings in your developer console?

rgossiaux commented 1 year ago

Works for me and works on the production site. Cannot reproduce.