@tanstack/react-router 1.98.3 → 1.98.4

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.
@@ -333,9 +333,9 @@ export interface RouterOptions<TRouteTree extends AnyRoute, TTrailingSlashOption
333
333
  pathParamsAllowedCharacters?: Array<';' | ':' | '@' | '&' | '=' | '+' | '$' | ','>;
334
334
  defaultRemountDeps?: (opts: MakeRemountDepsOptionsUnion<TRouteTree>) => any;
335
335
  /**
336
- * If `false`, scroll restoration will be disabled
336
+ * If `true`, scroll restoration will be enabled
337
337
  *
338
- * @default true
338
+ * @default false
339
339
  */
340
340
  scrollRestoration?: boolean;
341
341
  getScrollRestorationKey?: (location: ParsedLocation) => string;
@@ -333,9 +333,9 @@ export interface RouterOptions<TRouteTree extends AnyRoute, TTrailingSlashOption
333
333
  pathParamsAllowedCharacters?: Array<';' | ':' | '@' | '&' | '=' | '+' | '$' | ','>;
334
334
  defaultRemountDeps?: (opts: MakeRemountDepsOptionsUnion<TRouteTree>) => any;
335
335
  /**
336
- * If `false`, scroll restoration will be disabled
336
+ * If `true`, scroll restoration will be enabled
337
337
  *
338
- * @default true
338
+ * @default false
339
339
  */
340
340
  scrollRestoration?: boolean;
341
341
  getScrollRestorationKey?: (location: ParsedLocation) => string;