I have my app bar defined as below:
<AppBar x:Name="MyBottomBar" IsSticky="True" IsOpen="True" Closed="MyBottomBar_Closed" SizeChanged="MyBottomBar_SizeChanged">
private void MyBottomBar_Closed(object sender, object e)
{
if (!this.BottomAppBar.IsOpen && KeepBottomAppBarOpen)
{
this.BottomAppBar.IsOpen = true;
}
}
Then I have a TextBox at the top of the same page as the app bar, once I start to type in the text box, the soft keyboard displays. I have some workflows to set the KeepBottomAppBarOpen to true. But when I type in the text box, KeepBottomAppBarOpen is false. In surface pro 1, once I start to type in the text box, the soft keyboard displays and the app bar jumps above the soft keyboard. But in surface pro 4, once I start to type in the text box, the soft keyboard displays and the app bar doesn't jump and because it is at the bottom of the page, the soft keyboard will hide it.
Is this by design due to the difference between surface pro 1 and surface pro 4?
What can I do so that the app bar doesn't jump above the soft keyboard in surface pro 1?