We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebde06e commit 8243ae2Copy full SHA for 8243ae2
1 file changed
framework/core/js/src/common/components/AbstractGlobalSearch.tsx
@@ -100,7 +100,9 @@ export default abstract class AbstractGlobalSearch<T extends SearchAttrs = Searc
100
role="search"
101
className="Search"
102
aria-label={this.attrs.a11yRoleLabel}
103
- onclick={() => {
+ onclick={(e: MouseEvent) => {
104
+ if ((e.target as HTMLElement).closest('.Input-clear')) return;
105
+
106
this.$('input').blur();
107
setTimeout(() => openSearchModal(), 150);
108
}}
0 commit comments