Skip to content

Commit

Permalink
fix: scroll into the container instead
Browse files Browse the repository at this point in the history
  • Loading branch information
mary-ext committed Feb 27, 2024
1 parent 98c69d1 commit 03bdb1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/desktop/components/composer/ComposerPane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ const ComposerPane = () => {

if (node) {
node.focus();
node.scrollIntoView({ block: 'center' });
next.scrollIntoView({ block: 'center' });
}
}
}
Expand Down

0 comments on commit 03bdb1d

Please sign in to comment.