Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Prevent autoscroll of ScrollView when keyboard becomes visible?

$
0
0

I have raised this issue a long time ago. I need a way to control, modify, or remove the auto scroll behavior of a ScrollView when the keyboard becomes visible. This is most useful on a login screen when there user clicks in the username field and then the password field. The ScrollView only scrolls to keep the current focused field in view, but there is a Login button underneath the password field that should also remain visible. With the current behavior, the user must manually scroll down after typing in password to push the Login button.

If there is no way in the built-in ScrollView, can I accomplish what I need with a custom renderer, perhaps?
Can I detect when the keyboard shows/hides and manually scroll to where I need?

Here is a link to my previous post: http://forums.xamarin.com/discussion/18973/scrollview-auto-scrolls-on-keyboard-visible


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>