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

ScrollView and Keyboard on one page cant work properly together?

$
0
0

I use code like this:

public class MyContentPage: ContentPage
{
    public MyContentPage()
    {
        Content = new ScrollView
                  {
                      HorizontalOptions = LayoutOptions.Fill,
                      VerticalOptions = LayoutOptions.Fill,
                      Content = new LightStackLayout
                                {
                                    HorizontalOptions = LayoutOptions.FillAndExpand,
                                    VerticalOptions = LayoutOptions.Fill,
                                    Children =
                                    {
                                            new Entry(),
                                            new Entry(),
                                            new Entry(),
                                            [...]
                                    }
                  ]
    ]

When keyboard appear - scroll view get to me ability for form scrolling. This is good. But not you can scroll and after form last item! I get something like this (see attachment).

I try other combinations for "VerticalOptions", but this don't help.
Test it on many versions, from 1.3.2 to current.


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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