aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Tooltip/LinkedTooltip.svelte
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-04-19 11:06:11 +0000
committerFuwn <[email protected]>2026-04-19 11:06:11 +0000
commitcf0aa28fb61fda04d9faec7835c400d58d616799 (patch)
treecc94ea5b35cde6b47497652bf9b2ec8797f541cb /src/lib/Tooltip/LinkedTooltip.svelte
parentfix(tooltip): use fixed positioning and snappy cursor tracking (diff)
downloaddue.moe-cf0aa28fb61fda04d9faec7835c400d58d616799.tar.xz
due.moe-cf0aa28fb61fda04d9faec7835c400d58d616799.zip
Revert "fix(tooltip): use fixed positioning and snappy cursor tracking"
This reverts commit 28860bb88da4c08e3ba383adc9c23ae3689310b6.
Diffstat (limited to 'src/lib/Tooltip/LinkedTooltip.svelte')
-rw-r--r--src/lib/Tooltip/LinkedTooltip.svelte5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/Tooltip/LinkedTooltip.svelte b/src/lib/Tooltip/LinkedTooltip.svelte
index 94aab52b..b3fc6ae2 100644
--- a/src/lib/Tooltip/LinkedTooltip.svelte
+++ b/src/lib/Tooltip/LinkedTooltip.svelte
@@ -35,10 +35,7 @@ onDestroy(() => {
const createTooltip = () => {
if (!tooltipDiv) {
tooltipDiv = document.createElement("div");
- tooltipDiv.style.position = "fixed";
- tooltipDiv.style.top = "-9999px";
- tooltipDiv.style.left = "-9999px";
- tooltipDiv.style.visibility = "hidden";
+ tooltipDiv.style.position = "absolute";
tooltipDiv.style.zIndex = "1000";
opacity = 0;
tooltipDiv.style.pointerEvents = "none";