[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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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