fix(navigation): replace wire:navigate.hover with wire:navigate

Remove hover prefetching variant from SPA navigation helper,
both in the happy path and the exception fallback.
This commit is contained in:
Andras Bacsai 2026-04-22 20:55:09 +02:00
parent 4e561264b4
commit 19767a569b

View file

@ -3532,10 +3532,10 @@ function wireNavigate(): string
try {
$settings = instanceSettings();
// Return wire:navigate.hover for SPA navigation with prefetching, or empty string if disabled
return ($settings->is_wire_navigate_enabled ?? true) ? 'wire:navigate.hover' : '';
// Return wire:navigate for SPA navigation with prefetching, or empty string if disabled
return ($settings->is_wire_navigate_enabled ?? true) ? 'wire:navigate' : '';
} catch (Exception $e) {
return 'wire:navigate.hover';
return 'wire:navigate';
}
}