From b796149a26c8b8dee0bca13f6761bb36eda61c11 Mon Sep 17 00:00:00 2001 From: thatmattlove Date: Sat, 1 Jun 2024 14:49:05 -0400 Subject: [PATCH] fix dropdown remaining open after selection; closes #257 --- hyperglass/ui/components/query-location.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyperglass/ui/components/query-location.tsx b/hyperglass/ui/components/query-location.tsx index 85b1d74..c8f040f 100644 --- a/hyperglass/ui/components/query-location.tsx +++ b/hyperglass/ui/components/query-location.tsx @@ -170,7 +170,7 @@ export const QueryLocation = (props: QueryLocationProps): JSX.Element => { options={options} aria-label={label} name="queryLocation" - closeMenuOnSelect={false} + closeMenuOnSelect={true} onChange={handleSelectChange} value={selections.queryLocation} isError={typeof errors.queryLocation !== 'undefined'}