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

Any example for animating a popover opening from the other side ? #49

Closed VinceBT-BG closed 9 months ago

VinceBT-BG commented 1 year ago

Use Version

Describe the question Do you have any example on how to make the transition from a popover come from the bottom towards top when the placement has been changed ?

Screenshots Screenshot is from the demo page, adding a margin top to the popover button until it is stuck at the bottom of the screen 2023-03-16 15 06 16

ycs77 commented 1 year ago

Hi @VinceBT-BG, this feature involves the use of <Transition> of Headless UI, now can't use this. I have asked about this problem at https://github.com/tailwindlabs/headlessui/discussions/2432, and I need to wait for the reply there to solve it and use it.

ycs77 commented 9 months ago

Regarding this response, please refer to #57