[WIKI-549] fix: comment scroll logic #7412

This commit is contained in:
Aaryan Khandelwal
2025-07-15 15:12:27 +05:30
committed by GitHub
parent bfd4bd5e75
commit 2058f06b8a

View File

@@ -38,7 +38,7 @@ export const useHashScroll = (args: TArgs): TReturnType => {
setTimeout(() => {
element.scrollIntoView({
behavior: "smooth",
block: "center",
block: "nearest",
});
}, scrollDelay);