fix: stopPropagation when close tranbox
This commit is contained in:
@@ -32,7 +32,11 @@ function Header({
|
|||||||
setHideClickAway,
|
setHideClickAway,
|
||||||
}) {
|
}) {
|
||||||
return (
|
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">
|
<Stack direction="row" justifyContent="space-between" alignItems="center">
|
||||||
<DragIndicatorIcon fontSize="small" />
|
<DragIndicatorIcon fontSize="small" />
|
||||||
<Stack direction="row" alignItems="center">
|
<Stack direction="row" alignItems="center">
|
||||||
|
|||||||
Reference in New Issue
Block a user