0
votes

I have problems with the SIP (keyboard). It hides the currently focussed textbox. I have a form with some numbers of TextBoxes and I change focus by tapping ↲ on the SIP.

enter image description here

But then the keyboard hides the textbox... all my textboxes are in StackPanel and around by

Is this a known problem? Is there a solution?

  <ScrollViewer x:Name="Scroller" Grid.Row="1">
            <StackPanel Orientation="Vertical">
                <TextBlock Text="Name"/>
                <TextBox x:Name="txtName" />
                <TextBlock Text="Email"/>
                <TextBox x:Name="txtEmail"/>
                <TextBlock Text="Phone"/>
                <TextBox x:Name="txtPhone" />
                <TextBlock Text="Adress"/>
                <TextBox x:Name="txtAddress" />

            </StackPanel>
        </ScrollViewer>
1
By default it should scroll the page to show the textbox. So, there is something that blocks that behavior. Do you have some transformations applied to the page? - Anton Sizikov
it should but dosn't. Do not have any transformations. Focus change manually - Vovich
You can make an empty page, put a textbox to the bottom and you'll see, that it scrolls. Perhaps the issue is caused by some Style (margins?). It's hard to say without xaml code. - Anton Sizikov
Have you tried putting the StackPanel inside a ScrollViewer - Neil Turner

1 Answers

0
votes

keep your code inside the <ListBox>. It will not hide then.