atomiks / tippyjs

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

same content html div cannot be used across different tooltips #1013

Closed anoosurf closed 2 years ago

anoosurf commented 2 years ago

Bug description

same content html div cannot be used across different tooltips

when we assign a dom DIV element directly as content ( not innerHTML but direct object reference in content:) then if we call the sane element on another tooltip it does not show.. actually want to share a common popup div across multiple tooltip hover links

atomiks commented 2 years ago

This isn't a bug, you need to clone the node/up to you to handle