fix: initialize tooltips in staged dynamic markup
This commit is contained in:
1 parent
094b5ea771
commit
dbb9ccaef4
1 file changed
+4
@@ -286,6 +286,10 @@
|
||||
if (root.nodeType !== Node.ELEMENT_NODE) {
|
||||
return;
|
||||
}
|
||||
const owningWrap = root.closest('.sg-tooltip-wrap');
|
||||
if (owningWrap) {
|
||||
initTooltip(owningWrap);
|
||||
}
|
||||
if (root.matches('.sg-tooltip-wrap')) {
|
||||
initTooltip(root);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user