Skip to content

Commit

Permalink
Merge pull request #2781 from ClickHouse/remove-left-nav-animation
Browse files Browse the repository at this point in the history
Remove left nav animation on navigate
  • Loading branch information
justindeguzman authored Nov 12, 2024
2 parents 07be49f + 018cd7c commit 97f492a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/theme/DocSidebar/Desktop/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function DocSidebarDesktop({path, sidebar, onCollapse, isHidden, ...props}) {
// Only scroll if the link is not already in view
if (!isVisible) {
activeLink.scrollIntoView({
behavior: 'smooth',
behavior: 'auto',
block: 'center', // 'start' or 'end' depending on where you want the link
});
}
Expand Down

0 comments on commit 97f492a

Please sign in to comment.