We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7234d61 + fe02fc6 commit 1046ea5Copy full SHA for 1046ea5
src/shared/ui/dropdown/multi.tsx
@@ -107,8 +107,11 @@ export default function MultiDropdown({
107
{item.label}
108
<button
109
type="button"
110
- onClick={(e) => {
+ onPointerDown={(e) => {
111
+ e.preventDefault();
112
e.stopPropagation();
113
+ }}
114
+ onClick={(e) => {
115
remove(item.value);
116
}}
117
className="cursor-pointer"
@@ -124,8 +127,11 @@ export default function MultiDropdown({
124
127
{selected.length > 0 && (
125
128
126
129
130
131
132
133
134
135
clear();
136
137
className="bg-icon-strong flex h-200 w-200 items-center justify-center rounded-full"
0 commit comments