fixed z-index ordering issues

This commit is contained in:
peterkogo
2025-04-16 16:02:22 +02:00
parent 3ef63ad10e
commit 201ed30bc6
15 changed files with 290 additions and 202 deletions
@@ -12,7 +12,7 @@ function tryToMount(node: Element, domNode: Element | null, target: Portal | und
return;
}
const targetEl = target === 'root' ? domNode : domNode.querySelector(selector[target]);
const targetEl = target === 'root' ? domNode : domNode.querySelector('.svelte-flow__viewport');
if (targetEl) {
targetEl.appendChild(node);