diff --git a/packages/fdr-sdk/src/navigation/converters/NavigationConfigConverter.ts b/packages/fdr-sdk/src/navigation/converters/NavigationConfigConverter.ts index 5fc21cfc6c..38ff348082 100644 --- a/packages/fdr-sdk/src/navigation/converters/NavigationConfigConverter.ts +++ b/packages/fdr-sdk/src/navigation/converters/NavigationConfigConverter.ts @@ -298,7 +298,13 @@ export class NavigationConfigConverter { changelog: (changelog) => ChangelogNavigationConverter.convert(changelog, this.noindexMap, parentSlug, this.#idgen), // Note: apiSection.node is imported from `navigation`, and is guaranteed to be a FernNavigation.ApiReferenceNode - apiV2: (apiSection) => apiSection.node as unknown as FernNavigation.ApiReferenceNode, + apiV2: (apiSection) => { + const node = apiSection.node as unknown as FernNavigation.ApiReferenceNode; + if (this.disableLongScrolling) { + node.disableLongScrolling = true; + } + return node; + }, changelogV3: (changelog) => changelog.node as unknown as FernNavigation.ChangelogNode, _other: (value) => assertNever(value as never), });