atomiks / tippyjs

Tooltip, popover, dropdown, and menu library
https://atomiks.github.io/tippyjs/
MIT License
12.04k stars 521 forks source link

Using Delegate and Singleton together #1069

Open infime opened 2 years ago

infime commented 2 years ago

Problem

There seems to be no clean way to make these two addons work together nicely.

Solution

I would like to create a Delegate so tippy instances are created on demand, and additionally register them with a Singleton to gain moveTransition support.

oskarkrawczyk commented 5 months ago

Came here for the same reason, I'm currently implementing Tippy.js into the UI rewrite of @jsfiddle – a few components reload synchronously so obviously event delegation needs to be used but the tips are also a part of a group so they should be a Singleton.

Unfortunately I found no way to get them working together.