segmentio / evergreen

🌲 Evergreen React UI Framework by Segment
https://evergreen.segment.com
MIT License
12.39k stars 832 forks source link

Empty divs in evergree-portal-container using Tooltip #1365

Closed vojtatom closed 1 year ago

vojtatom commented 2 years ago

Hello, I think I have encountered similar issue to this one https://github.com/segmentio/evergreen/issues/329 using the Tooltip component.

I'm using version 6.6.1

React:

<Tooltip content="Layers" >
    <IconButton icon={LayersIcon} appearance="minimal" onClick={() => toggleMenu(Menu.Layers)} />
</Tooltip>

Looks like tooltip creates one extra div on hover, see: Before hover:

before

On hover:

hover

After mouse leave:

after

I suppose https://github.com/segmentio/evergreen/pull/330 did not fix the problem or am I missing something? Thank you for such a great library guys. 😊

brandongregoryscott commented 1 year ago

This should be resolved v6.13.1