Hello Fuse Community,
i have a bug i use whileKeyboardVisible to move my page to top.
This is working great.
Now i rotate my device the first time all is looking good but when i rotate my device multiple times then i got a white white area on bottom on the Screen (Screenshot).
Here is my code to reproduce the bug.
Main.ux
<App>
<Router ux:Name="router" />
<DockPanel>
<StatusBarBackground Dock="Top" />
<Navigator DefaultPath="login">
<LoginPage ux:Template="login" router="router" />
</Navigator>
<BottomBarBackground Dock="Bottom" IncludesKeyboard="false" />
</DockPanel>
</App>
Login.ux
<Page ux:Class="LoginPage">
<Router ux:Dependency="router" />
<Image ux:Name="BackgroundImage" File="../assets/background.jpg" Layer="Background" StretchMode="UniformToFill">
<Blur />
</Image>
<!-- Default View -->
<Panel ux:Name="PortraitContent" Background="#000b">
<TextInput />
</Panel>
<WhileKeyboardVisible>
<DebugAction Message="Keyboard"/>
<Move Target="this" RelativeTo="Keyboard" Y="-0.5" Duration="0.3"/>
</WhileKeyboardVisible>
</Page>
I have placed a debug action message in whileKeyboardVisible and
found out that WhileKeyboardVisible is always called when turning the device regardless of whether the keyboard is visible or not.
I use Fuse version 1.2.1, my Operating system is MacOS 10.12.6 and i use a Google Pixel with Android 8.0 for testing.