A form outside of map view loses focus on the enter key and the map is focused instead. I believe this behavior is not expected, and I am not sure if it is a bug or there is any way to avoid it.
Repro steps:
Open https://stackblitz.com/edit/js-pusl6y?file=index.html
Enter value in form input above map
Hit enter
Map search input field is focused
Tested in Google Chrome 89.0.4389.82 with versions 4.16 and 4.18
Any ideas? Thank you.