From de1ddf23623fe3fd332bb0e419835f78db4a62b3 Mon Sep 17 00:00:00 2001 From: Gabe Yuan Date: Sat, 20 Apr 2024 15:12:25 +0800 Subject: [PATCH] fix: stopPropagation when close tranbox --- src/views/Selection/TranBox.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/Selection/TranBox.js b/src/views/Selection/TranBox.js index 699476b..c35aee4 100644 --- a/src/views/Selection/TranBox.js +++ b/src/views/Selection/TranBox.js @@ -32,7 +32,11 @@ function Header({ setHideClickAway, }) { return ( - + e.stopPropagation()} + onTouchEnd={(e) => e.stopPropagation()} + >