docs: fix irregular scrolling in code tabs (#5239)

* docs: fix blocking scroll util

* remove unnecessary util methods
This commit is contained in:
Shahed Nasser
2023-09-27 19:17:04 +03:00
committed by GitHub
parent 4e3f3b54cb
commit 11b2f1237b
4 changed files with 22 additions and 78 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ const Providers = ({ children }: ProvidersProps) => {
<SidebarProvider>
<NavbarProvider basePath={process.env.NEXT_PUBLIC_BASE_PATH}>
<SearchProvider>
<ScrollControllerProvider>
<ScrollControllerProvider scrollableSelector="#main">
{children}
</ScrollControllerProvider>
</SearchProvider>