maui
maui copied to clipboard
In this Frame, errors can occur if the Image's WidthRequest attribute value is less than 160. Cause that 'hot reload' is very fragile.
This issue has been moved from a ticket on Developer Community.

Original Comments
Feedback Bot on 12/17/2023, 06:46 PM:
(private comment, text removed)
Original Solutions
(no solutions)
Reproduction
- Create new MAUI App.
- Add the code in MainPage.xaml
<Frame BorderColor="Black"
CornerRadius="100"
HeightRequest="200"
WidthRequest="200"
IsClippedToBounds="True"
HorizontalOptions="Center">
<Image Source="dotnet_bot.png"
Margin="-100"
Aspect="AspectFill"
HeightRequest="240"
WidthRequest="159"/>
</Frame>
We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.
cc @drasticactions who was going to repro to verify it's an SDK issue
Verified this on Visual Studio Enterprise 17.9.0 Preview 2(8.0.3 and 7.0.101). Repro on Windows 11, not repro on Android 14.0-API34, iOS 17.0 and MacCatalyst with below Project: 19543.zip
I removed partner/hot-reload-xaml label because hot reload is not involved, just having these two properties together are enough: