Skip to content

Commit bacb537

Browse files
committed
DBC22-1062: textbox now de-focused on selection
1 parent e55d7cd commit bacb537

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/frontend/src/Components/map/LocationSearch.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export default function LocationSearch(props) {
2222
const [options, setLocationOptions] = useState([]);
2323

2424
const setSelectedLocation = (payload) => {
25+
window.document.activeElement.blur(); // De-focus textbox
2526
dispatch(action(payload));
2627
}
2728

0 commit comments

Comments
 (0)