mobile - Leaflet map on android disrupted by appearance of keyboard -


i have android app uses webview point website, contains leaflet map. on phone map displayed in top third of screen. when click map marker dropped, map centres on marker, , form appears. far good. when click on form text area, android keyboard appears (as should), disrupts leaflet map. pushes tiles , marker upwards off top of screen, , whole map disappears reveal page background. (at least map returns normal when text input area loses focus.) why happening, , how fix it?

found solution here. had add

<activity    ...    android:windowsoftinputmode="adjustpan">  </activity> 

to androidmanifest.xml.


Comments