Open bagage opened 5 years ago
When you type something in the search bar on the demo http://haoliangyu.github.io/ngx-leaflet-starter/, the whole page is reloaded... and NYC is automatically reentered in the text input?
I can confirm this issue. I have seen a similar issue recently. Probably because the onsubmit event of the input form is triggered by the key press and it can be solved by the event.preventDefault().
onsubmit
event.preventDefault()
When you type something in the search bar on the demo http://haoliangyu.github.io/ngx-leaflet-starter/, the whole page is reloaded... and NYC is automatically reentered in the text input?