0

How do I make the position of the floating-ui/react-dom tooltip pop-up static [ always next to the trigger element, either left or right based on horizontal space ]:

enter image description here

Currently my tooltip pop-up position keeps changing vertically based on the vertical space, how do I stop it and make it fixed?

enter image description here

Here is my sandbox code: https://codesandbox.io/p/sandbox/polished-waterfall-ilc51b

Ed Lucas
  • 5,955
  • 4
  • 30
  • 42
yeln
  • 462
  • 2
  • 10
  • 23
  • While providing a link to the code is fine, your question should be self-contained and preferably not rely on external resources to be answered. Please add the relevant code as text directly to the question, and [format it appropriately](https://stackoverflow.com/help/formatting). – juliomalves Dec 11 '22 at 17:27

0 Answers0