Is your feature request related to a problem? Please describe.
It seems impossible to position a Tooltip the way I want, which is 10-20px away from the cursor horizontally but not vertically.
Describe the solution you'd like
If offset accepted an object of { x, y } offsets instead of just a number, I would set it to { x: 20, y: 0 }
Describe alternatives you've considered
Using offset={20} and translateY(-20px) in CSS, but that doesn't work when the tooltip is flipped vertically.
Additional context
Thank you!
Is your feature request related to a problem? Please describe.
It seems impossible to position a
Tooltipthe way I want, which is 10-20px away from the cursor horizontally but not vertically.Describe the solution you'd like
If
offsetaccepted an object of{ x, y }offsets instead of just anumber, I would set it to{ x: 20, y: 0 }Describe alternatives you've considered
Using
offset={20}andtranslateY(-20px)in CSS, but that doesn't work when the tooltip is flipped vertically.Additional context
Thank you!