Open adamkudrna opened 2 months ago
This happens because transferProps
disallows the prop style
which is needed for Floating UI to work properly. Wrapping the popover in a div does not help because the dimensions of the div are 0x0. Making it work without passing style
would require a lot of ugly tweaks on the user side.
I have 2 solutions in mind.
top, left, and position
The 2nd one would discourage abusing the style prop, but some other libraries may need more props to work
On video call we agreed, that we want a new prop position
to pass the position info.
https://github.com/react-ui-org/react-ui/pull/559#discussion_r1743774576