From 4c17522d426e650a3b17e94db158c55ae6629d46 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 14 Feb 2023 19:38:17 +0800 Subject: [PATCH] Fix escape key not working on Safari --- src/components/compose.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/compose.jsx b/src/components/compose.jsx index 741c0d04..1ce921c1 100644 --- a/src/components/compose.jsx +++ b/src/components/compose.jsx @@ -367,6 +367,8 @@ function Compose({ }, { enableOnFormTags: true, + // Use keyup because Esc keydown will close the confirm dialog on Safari + keyup: true, }, );