-
Notifications
You must be signed in to change notification settings - Fork 690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AdaptiveTriggers' order declared in XAML shouldn't matter #2662
Labels
difficulty/medium 🤔
Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI
kind/bug
Something isn't working
project/layout 🧱
Categorizes an issue or PR as relevant to layouting and containers (Measure/Arrange, Collections,..)
Comments
Merged
6 tasks
FYI @jeromelaban This issue is still happening with the latest Uno.UI stable version 4.7.44 and latest dev version 4.8.0-dev.560 Another snippet to test the issue:
The StatesTriggers listed the other way around will work fine for WIDE but not for NARROW |
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
difficulty/medium 🤔
Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI
kind/bug
Something isn't working
project/layout 🧱
Categorizes an issue or PR as relevant to layouting and containers (Measure/Arrange, Collections,..)
Current behavior
Take this code with 2 very small AdaptiveTriggers(0 and 10) that most likely are always "true". (not very useful, but proving the point)
and the same triggers but listed in a different order
Observe on UWP both code render the same thing (background is yellow) but with Uno they seem to be evaluated in the order they are declared in XAML.
Expected behavior
Same behavior as UWP. The order declared in XAML shouldn't affect the rendered result.
How to reproduce it (as minimally and precisely as possible)
Make a new Uno app using the template and paste the above code.
Environment
Nuget Package: 2.0
The text was updated successfully, but these errors were encountered: