[WIKI-549] fix: comment scroll logic #7412
This commit is contained in:
parent
bfd4bd5e75
commit
2058f06b8a
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ export const useHashScroll = (args: TArgs): TReturnType => {
|
|||
setTimeout(() => {
|
||||
element.scrollIntoView({
|
||||
behavior: "smooth",
|
||||
block: "center",
|
||||
block: "nearest",
|
||||
});
|
||||
}, scrollDelay);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue