fix(app): fix issue with scroll jumping when pressing escape in comment text area (#15374)

This commit is contained in:
Yihui Khuu
2026-03-09 20:59:24 +11:00
committed by GitHub
parent dec0a3b85f
commit fd2d06459f
@@ -244,6 +244,7 @@ export const LineCommentEditor = (props: LineCommentEditorProps) => {
event.stopPropagation()
if (e.key === "Escape") {
event.preventDefault()
e.currentTarget.blur()
split.onCancel()
return
}