ycs77 / headlessui-float

Easily use Headless UI with Floating UI to position floating elements.
https://headlessui-float.vercel.app
MIT License
344 stars 11 forks source link

Not working with `@headlessui/vue` v1.7.3 and `vue` >=3.2.34 #28

Closed ycs77 closed 1 year ago

ycs77 commented 1 year ago

Use Version Use version when bugs appear:

Describe the bug Not working

To Reproduce Open example: https://github.com/ycs77/headlessui-float/tree/497f8a1a31570138cc644be70388b42f6baed54a/examples/example-vue

  1. remove yarn.lock
  2. update package.json: "@headlessui/vue": "1.7.3",
  3. update package.json: "vue": "3.2.41",
  4. run yarn && yarn watch:example:vue

Screenshots 1665844102439

Expected behavior Working, no print error.

empresarrollo commented 1 year ago

FYI, I just installed this (I love it, thanks for your work!), and trying a simple example of with a <Menu> and it seems to work OK. I'm on Vue 3.2.41 and HeadlessUI/vue 1.7.4

ycs77 commented 1 year ago

Fixed on v0.10.1

And must be upgrade @headlessui/vue to ^1.7.4