Use top/left for positioning Floating UI elements #2931
-
Is there an option to use top/left attributes to styling position of Popovers, etc instead of transforms? I'm having issues attempting to use Vue's I'll post some other related issues: floating-ui/floating-ui#2893 I think there needs to be an option that adjusts the code here that would opt to use the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
How about using the style attribute in your userland code? transform: unset |
Beta Was this translation helpful? Give feedback.
That could work, but custom CSS solution is not ideal, IMO. I think I figured out an easier way (for anyone else running across this issue), and that is wrapping Vue's transition component in absolute positioned parent:
Floating UI then correctly calculates the X & Y positions