Open ZackAllen opened 2 years ago
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
@StephaneDelcroix
I just ran into this when running my app on Android for the first time. Setting width with {OnIdiom Desktop=600, Tablet=600}
required Default=-1
to be added to work on Android mobile screens.
Verified this issue with Visual Studio 17.7.0 Preview 1.0. Can repro on windows and iOS platform with above project. Android works fine. mauiHeightRequestBug-main.zip Windows: iOS: Android:
Description
VisualElement.WidthRequest
andVisualElement.HeightRequest
have a default value of 0 if anOnIdiom
condition is not set. This results in an element not being visible instead of being -1 which doesn't change behavior.Steps to Reproduce
"{OnIdiom Phone=200}"
.Link to public reproduction project repository
https://github.com/ZackAllen/mauiHeightRequestBug
Version with bug
6.0.400
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android, Windows
Affected platform versions
All
Did you find any workaround?
Manually setting a default of -1.
Relevant log output
No response