Skip to content

Commit

Permalink
fix: remove textarea autofocus
Browse files Browse the repository at this point in the history
  • Loading branch information
Enter-tainer committed Sep 28, 2024
1 parent 26549e6 commit 8778b9c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions frontend/lib/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -317,10 +317,6 @@ const _openCommentsPanel = async () => {
behavior: "smooth",
block: "start",
});
const textarea = selectedCommentsGroup?.querySelector(
".comment_actions_panel textarea",
) as HTMLTextAreaElement | undefined;
textarea?.focus();

commentsButton.classList.add("review_hidden");
commentsPanel.classList.remove("review_hidden");
Expand Down

0 comments on commit 8778b9c

Please sign in to comment.