We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5006435 commit 304755eCopy full SHA for 304755e
.changeset/fast-crews-smash.md
@@ -0,0 +1,5 @@
1
+---
2
+'@sveltejs/kit': patch
3
4
+
5
+fix: avoid preload if event default was prevented for `touchstart` and `mousedown` events
packages/kit/src/runtime/client/client.js
@@ -1529,6 +1529,7 @@ function setup_preload() {
1529
1530
/** @param {Event} event */
1531
function tap(event) {
1532
+ if (event.defaultPrevented) return;
1533
preload(/** @type {Element} */ (event.composedPath()[0]), 1);
1534
}
1535
0 commit comments