mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-24 03:58:49 +02:00
fix(theme-classic): temporarily disable toc heading autoscrolling (#6748)
This commit is contained in:
parent
ece7399d2e
commit
89560226f0
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ export default function useTOCHighlight(
|
|||
}
|
||||
link.classList.add(linkActiveClassName);
|
||||
lastActiveLinkRef.current = link;
|
||||
link.scrollIntoView({block: 'nearest'});
|
||||
// link.scrollIntoView({block: 'nearest'});
|
||||
} else {
|
||||
link.classList.remove(linkActiveClassName);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue