Skip to content

Commit fef1693

Browse files
committed
fix: click propagation in item deletion when clicking trash icon
1 parent a5bc1f2 commit fef1693

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/components/databrowser/components/display/display-list.tsx

+8-1
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,15 @@ export const ListItems = ({
104104
</td>
105105
)}
106106
{type !== "stream" && (
107-
<td width={20} className="px-3">
107+
<td
108+
width={20}
109+
className="px-3"
110+
onClick={(e) => {
111+
e.stopPropagation()
112+
}}
113+
>
108114
<DeleteAlertDialog
115+
deletionType="item"
109116
onDeleteConfirm={(e) => {
110117
e.stopPropagation()
111118
editItem({

0 commit comments

Comments
 (0)