fix: Unable to scroll until multiple comments (#7112)
* fix: Unable to scroll in comments fix: Missing highlighted text on first comment while composing * docs
This commit is contained in:
@@ -42,7 +42,6 @@ function Comments() {
|
||||
.threadsInDocument(document.id)
|
||||
.filter((thread) => !thread.isNew || thread.createdById === user.id);
|
||||
const hasComments = threads.length > 0;
|
||||
const hasMultipleComments = comments.inDocument(document.id).length > 1;
|
||||
|
||||
return (
|
||||
<Sidebar
|
||||
@@ -52,7 +51,6 @@ function Comments() {
|
||||
>
|
||||
<Scrollable
|
||||
id="comments"
|
||||
overflow={hasMultipleComments ? undefined : "initial"}
|
||||
bottomShadow={!focusedComment}
|
||||
hiddenScrollbars
|
||||
topShadow
|
||||
|
||||
Reference in New Issue
Block a user