@rangojs/router 0.0.0-experimental.37 → 0.0.0-experimental.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/vite/index.js
CHANGED
|
@@ -1745,7 +1745,7 @@ import { resolve } from "node:path";
|
|
|
1745
1745
|
// package.json
|
|
1746
1746
|
var package_default = {
|
|
1747
1747
|
name: "@rangojs/router",
|
|
1748
|
-
version: "0.0.0-experimental.
|
|
1748
|
+
version: "0.0.0-experimental.38",
|
|
1749
1749
|
description: "Django-inspired RSC router with composable URL patterns",
|
|
1750
1750
|
keywords: [
|
|
1751
1751
|
"react",
|
package/package.json
CHANGED
|
@@ -302,6 +302,10 @@ export function restoreScrollPosition(options?: {
|
|
|
302
302
|
cancelScrollRestorationPolling();
|
|
303
303
|
}
|
|
304
304
|
}, SCROLL_POLL_INTERVAL_MS);
|
|
305
|
+
|
|
306
|
+
// Return true to prevent handleNavigationEnd from falling through
|
|
307
|
+
// to scrollToTop(). The polling will handle the final scroll.
|
|
308
|
+
return true;
|
|
305
309
|
}
|
|
306
310
|
|
|
307
311
|
return false;
|