diff options
| author | Fuwn <[email protected]> | 2026-04-19 10:59:55 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-04-19 10:59:55 +0000 |
| commit | 71f6bd1f87abfdd970ebc376459a351ab936fbf7 (patch) | |
| tree | 3a36c6d2e9b953b4ee2e2e01bc274ab93bff2818 | |
| parent | fix(tooltip): drop position transition so tooltip snaps instead of sliding (diff) | |
| download | due.moe-71f6bd1f87abfdd970ebc376459a351ab936fbf7.tar.xz due.moe-71f6bd1f87abfdd970ebc376459a351ab936fbf7.zip | |
Revert "fix(tooltip): drop position transition so tooltip snaps instead of sliding"
This reverts commit 6e780fdb76155669a72692c64fd51c0da2c932d2.
| -rw-r--r-- | src/lib/Tooltip/tooltip.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Tooltip/tooltip.ts b/src/lib/Tooltip/tooltip.ts index d3187987..488dba5a 100644 --- a/src/lib/Tooltip/tooltip.ts +++ b/src/lib/Tooltip/tooltip.ts @@ -18,7 +18,7 @@ const tooltip = (element: HTMLElement) => { tooltipDiv.style.top = "-9999px"; tooltipDiv.style.zIndex = "1000"; tooltipDiv.style.opacity = "0"; - tooltipDiv.style.transition = `opacity ${tooltipTransitionTime}ms ease-in-out`; + tooltipDiv.style.transition = `opacity ${tooltipTransitionTime}ms ease-in-out, top 0.3s ease, left 0.3s ease`; tooltipDiv.style.pointerEvents = "none"; tooltipDiv.style.whiteSpace = "nowrap"; tooltipDiv.style.zIndex = "1000"; |