-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Description
Describe the bug
With remote functions enabled, returning a promise from a load function will cause the page content to update just by hovering the link. Any non promise data returned from the function behaves as normal
Reproduction
https://stackblitz.com/edit/sveltejs-kit-template-default-q88rdgtw?file=svelte.config.js
Click one of the numbers first, then hovering over each of the other links will update the value without a navigation
Disable the experimental options in svelte.config.js to show that it works as expected with it disabled
Logs
System Info
System:
OS: Linux 5.0 undefined
CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 0 Bytes / 0 Bytes
Shell: 1.0 - /bin/jsh
Binaries:
Node: 20.19.1 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.8.2 - /usr/local/bin/npm
pnpm: 8.15.6 - /usr/local/bin/pnpm
npmPackages:
@sveltejs/adapter-auto: ^7.0.0 => 7.0.0
@sveltejs/kit: ^2.49.2 => 2.49.2
@sveltejs/vite-plugin-svelte: ^6.2.1 => 6.2.1
svelte: ^5.46.0 => 5.46.0
vite: ^7.2.2 => 7.3.0Severity
blocking an upgrade
Additional Information
Could be related to #15052 ? Both are nasty issues with preloading on hover
Metadata
Metadata
Assignees
Labels
No labels