Skip to content

Commit f1da724

Browse files
committed
minor comment
1 parent 07708bf commit f1da724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sidebar/search/AddressInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ export default function AddressInput(props: AddressInputProps) {
248248
className={styles.btnCurrentLocation}
249249
// no onClick because otherwise focus would be lost before button receives click
250250
onMouseDown={(e) => {
251-
// here it is desired to close mobile-input view when clicked
251+
// here it is desired to close mobile-input view when clicked -> no "e.preventDefault()"
252252
onCurrentLocationSelected(props.onAddressSelected)
253253
}}
254254
>

0 commit comments

Comments
 (0)