mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: stop event propagation itself on clicking
This commit is contained in:
parent
f0699e7aac
commit
b7cd75e359
@ -244,7 +244,10 @@ function createToolbox({
|
||||
className:
|
||||
"flex items-center gap-2 px-1 py-1.5 bg-custom-background-100 hover:bg-custom-background-80 text-sm text-custom-text-200 rounded cursor-pointer",
|
||||
itemType: "div",
|
||||
onClick: () => onClickItem(item),
|
||||
onClick: (e) => {
|
||||
e.stopPropagation();
|
||||
onClickItem(item);
|
||||
},
|
||||
},
|
||||
[
|
||||
h("span", {
|
||||
|
Loading…
Reference in New Issue
Block a user