I have a Xamarin Forms app that has always worked without any problems. Now problems have suddenly occurred on certain hardware when I want to enter data in an entry - the app freezes completely. After a lot of testing, I discovered that this only happens if you want to use an element (like an entry or something similar) within a frame.
Steps to reproduce:
- Create a Xamarin Forms app (v5).
- Place the following code in e.g. MainWindow.xaml:
<Frame HasShadow="false" CornerRadius="0" BackgroundColor="White" Padding="0">
<StackLayout>
<Entry Margin="40, 0, 40 ,0 " TextColor="Black"/>
<Entry Margin="40, 0, 40 ,0 " TextColor="Black"/>
<Entry Margin="40, 0, 40 ,0 " TextColor="Black"/>
</StackLayout>
</Frame>
- Start the application
- Try to click on all entries with the pointer
Platform: The problem only occurs for me with Windows 10 version 22H2 build 19045.3803. Everything works perfectly on another computer with Windows 11.
Looks to me like I might have to reach out to Microsoft. But the situation is a bit urgent. Does anyone have an idea for a workaround without having to modify the 800 frames in my application?