-
-
Notifications
You must be signed in to change notification settings - Fork 536
Closed
Labels
Description
Hello.
I'm currently migrating a project to react-tooltip
5.3.2
from a 4.*
version.
I struggle with keeping some existing behaviour detailed below. Would anyone be able to point to the right place in the docs / source code so that I have an idea of how to implement this?
Thank you.
- there's a tooltip that appears after one of several elements is clicked (✅ works as expected with version
5.3.2
andTooltipWrapper
) - inside the tooltip there's a button that changes appearance on hover (❌ doesn't work) and can be clicked (❌ doesn't work), see attached gifs for before/now behaviour. 👉 This is the most important part I need to implement. It was previously achieved with
clickable
prop if I remember correctly.
Now (v5):
mouseover-5.mp4
Before (v4):
mouseover-4.mp4
- tooltip can be closed when re-clicking its anchor (✅ works as expected) and CANNOT be closed when clicking anywhere else (❌ doesn't work)
- upon scrolling the page, the tooltip remains "in place" and doesn't get scrolled with the rest of the page (❌ doesn't work, setting
data-scroll-hide={false}
onTooltipWrapper
doesn't seem to do anything)