fix: stopPropagation when close tranbox

This commit is contained in:
Gabe Yuan
2024-04-20 15:12:25 +08:00
parent 32c0fc860b
commit de1ddf2362

View File

@@ -32,7 +32,11 @@ function Header({
setHideClickAway,
}) {
return (
<Box className="KT-transbox-header">
<Box
className="KT-transbox-header"
onMouseUp={(e) => e.stopPropagation()}
onTouchEnd={(e) => e.stopPropagation()}
>
<Stack direction="row" justifyContent="space-between" alignItems="center">
<DragIndicatorIcon fontSize="small" />
<Stack direction="row" alignItems="center">