react-spectrum icon indicating copy to clipboard operation
react-spectrum copied to clipboard

Tooltip.isOpen: position not adjusted to the component within the TooltipTrigger

Open unional opened this issue 1 month ago โ€ข 6 comments

Provide a general summary of the issue here

When using the isOpen props directly, the Tooltip does not position correctly.

<TooltipTrigger>
  <Butto>Top End</Button>
  <Tooltip isOpen placement="top end">
    top end tooltip
  </Tooltip>
</TooltipTrigger>

I try to use this isOpen property to make multiple tooltip to show for taking a snapshot in storybook.

In the example below, I add isOpen to both top start and top end.

๐Ÿค” Expected Behavior?

image

(it renders correctly after I hover over them)

๐Ÿ˜ฏ Current Behavior

image

๐Ÿ’ Possible Solution

No response

๐Ÿ”ฆ Context

No response

๐Ÿ–ฅ๏ธ Steps to Reproduce

tbd

Version

react-aria-components 1.1.1

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

macOS

๐Ÿงข Your Company/Team

Palo Alto Networks

๐Ÿ•ท Tracking Issue

No response

unional avatar Jun 06 '24 21:06 unional