Forum Xamarin Xamarin.Android

Webview ignoring javascript command

knudsjeffknudsjeff Member ✭✭
edited January 15 in Xamarin.Android

Hello,
I currently have a webview in an Android app that has input fields. If the input is slightly off the top of the view but at a point that the user can still click on it, the webview pulls it to right above the keyboard. I want it at the top of the screen, so I tried adding a script tag with a scrollIntoView command to the HTML. The viewer runs this command if the android keyboard is hidden, but if it is up, the webview scrolls the input to right above the keyboard. Any suggestions on how to fix this?
Thanks!

Sign In or Register to comment.