Skip to content
This repository was archived by the owner on Mar 11, 2021. It is now read-only.

Commit 48f0bcd

Browse files
committed
Fix issue with nested route changes mistakenly invoking XHR
1 parent 9a2a931 commit 48f0bcd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/components/Framework7App.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ export class Framework7App extends React.Component<IFramework7AppProps, Framewor
107107
if (this.routeChangeCallbacks[componentId]) {
108108
this.routeChangeCallbacks[componentId](route);
109109
}
110-
});
110+
});
111+
112+
return false;
111113
});
112114

113115
if (this.props.onFramework7Init) {

0 commit comments

Comments
 (0)