Wait to scroll comments until sidebar animation is complete

Cleanup some unused code
This commit is contained in:
Tom Moor
2023-04-02 11:41:28 -04:00
parent 16a5be1aa6
commit 40103c9d8f
7 changed files with 37 additions and 29 deletions

View File

@@ -40,7 +40,12 @@ function Comments() {
onClose={() => ui.collapseComments(document?.id)}
scrollable={false}
>
<Scrollable bottomShadow={!focusedComment} hiddenScrollbars topShadow>
<Scrollable
bottomShadow={!focusedComment}
id="comments"
hiddenScrollbars
topShadow
>
<Wrapper $hasComments={hasComments}>
{hasComments ? (
threads.map((thread) => (