Skip to content

Commit ba9732a

Browse files
committed
chore: do not close popup if already open and input is clicked
1 parent 4365ee8 commit ba9732a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

packages/shared/widget-plugin-dropdown-filter/src/controllers/mixins/TagPickerControllerMixin.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,15 @@ export function TagPickerControllerMixin<TBase extends BaseController>(Base: TBa
142142
highlightedIndex: state.highlightedIndex,
143143
inputValue: state.inputValue
144144
};
145+
case useCombobox.stateChangeTypes.InputClick:
146+
if (state.isOpen) {
147+
return {
148+
...changes,
149+
isOpen: true,
150+
highlightedIndex: state.highlightedIndex
151+
};
152+
}
153+
return changes;
145154
default:
146155
return {
147156
...changes,

0 commit comments

Comments
 (0)