1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-01-17 08:48:05 +00:00

fix dropdown remaining open after selection; closes #257

This commit is contained in:
thatmattlove 2024-06-01 14:49:05 -04:00
parent 0c643c6abd
commit b796149a26

View file

@ -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'}