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 fb5a4fb commit fd0a3aaCopy full SHA for fd0a3aa
packages/kit/src/runtime/client/client.js
@@ -2093,7 +2093,7 @@ function _start_router() {
2093
const same_pathname = nonhash === strip_hash(location);
2094
2095
// Ignore the following but fire beforeNavigate
2096
- if (external || (options.reload && !same_pathname && !hash)) {
+ if (external || (options.reload && (!same_pathname || !hash))) {
2097
if (_before_navigate({ url, type: 'link' })) {
2098
// set `navigating` to `true` to prevent `beforeNavigate` callbacks
2099
// being called when the page unloads
0 commit comments