Skip to content
Snippets Groups Projects
Commit 4ab666c3 authored by David Bühler's avatar David Bühler
Browse files

[dome] Toolbar: fixes the left click on search item suggestions.

Prevents the [onBlur] event that clears the suggestion list to fire
on a left click press.
Allows the selection of an item by a left click release by the [onClick] event.
parent 6467f184
No related branches found
No related tags found
No related merge requests found
...@@ -327,6 +327,7 @@ export function SearchField<A = undefined>(props: SearchFieldProps<A>) { ...@@ -327,6 +327,7 @@ export function SearchField<A = undefined>(props: SearchFieldProps<A>) {
<div <div
style={{ visibility }} style={{ visibility }}
className="dome-xToolBar-searchmenu" className="dome-xToolBar-searchmenu"
onMouseDown={(event) => event.preventDefault()}
> >
{suggestions} {suggestions}
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment