fix: search palette triggers highlight, restore CSS keyframe blink
- SearchPalette now calls requestHighlight(id) before goto() - Restore smooth CSS @keyframes cardHighlight (0%→none, 25%→glow, 75%→glow, 100%→none) instead of JS interval pulse - Inline style.animation overrides class-based stagger animation; cleanup sets animation:'none' (inline beats class, no stagger replay)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
import { goto } from '$app/navigation';
|
||||
import { t } from '$lib/i18n';
|
||||
import MdiIcon from './MdiIcon.svelte';
|
||||
import { requestHighlight } from '$lib/highlight';
|
||||
import {
|
||||
fetchAllCaches,
|
||||
providersCache,
|
||||
@@ -140,6 +141,7 @@
|
||||
|
||||
function navigateTo(result: SearchResult) {
|
||||
closePalette();
|
||||
requestHighlight(result.id);
|
||||
goto(result.href);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user