mirror of
https://github.com/outline/outline.git
synced 2026-11-27 07:58:51 +03:00
fix: Scroll to end of comment thread, not start
This commit is contained in:
1 parent
3e5cd9eb3c
commit
53c25a5689
1 file changed
+1
-1
@@ -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