Popover re-calculates position when content size changes #1256
Unanswered
philipaarseth
asked this question in
Help
Replies: 1 comment
-
Hi @philipaarseth, our popper solution will recalculate positioning "live" based on any change in position/size for the target (trigger here) and size for the content.
Not sure I understand sorry.
If you could create a quick sandbox for reproduction, I'm happy to take a look. Screen.Recording.2022-03-30.at.10.50.17.mov |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is there a reason why radix popovers don't simply let CSS recalculate the element position with a
translateX(-50%)
instead of re-calculating and updating top & left?Also, why is it not bottom oriented if side is top?
Unless I'm missing something, this approach will lead to UI shake like so:
Beta Was this translation helpful? Give feedback.
All reactions