diff --git a/doc/api_assets/api.js b/doc/api_assets/api.js index a3e479ed9569c3..f5183202ce3ce0 100644 --- a/doc/api_assets/api.js +++ b/doc/api_assets/api.js @@ -197,7 +197,7 @@ if (!link) return; - link.scrollIntoView({ block: 'center' }); + link.scrollIntoView({ behavior: 'smooth', block: 'center' }); }