fix: Scroll to end of comment thread, not start
This commit is contained in:
@@ -116,7 +116,7 @@ function CommentThread({
|
||||
scrollIntoView(topRef.current, {
|
||||
scrollMode: "if-needed",
|
||||
behavior: "smooth",
|
||||
block: "start",
|
||||
block: "end",
|
||||
boundary: (parent) =>
|
||||
// Prevents body and other parent elements from being scrolled
|
||||
parent.id !== "comments",
|
||||
|
||||
Reference in New Issue
Block a user