-
Notifications
You must be signed in to change notification settings - Fork 710
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
Move NavigationView to Repeater #1683
Conversation
dev/NavigationView/NavigationView_InteractionTests/NavigationViewTests.cs
Outdated
Show resolved
Hide resolved
dev/NavigationView/NavigationView_InteractionTests/NavigationViewTests.cs
Show resolved
Hide resolved
dev/NavigationView/NavigationView_InteractionTests/NavigationViewTests.cs
Outdated
Show resolved
Hide resolved
dev/NavigationView/NavigationView_InteractionTests/NavigationViewTests.cs
Show resolved
Hide resolved
dev/NavigationView/TestUI/NavigationViewPageDatabinding.xaml.cs
Outdated
Show resolved
Hide resolved
dev/NavigationView/TestUI/NavigationViewPageDatabinding.xaml.cs
Outdated
Show resolved
Hide resolved
I don't know which one will be better. Refers to: dev/Repeater/ItemsRepeater.idl:423 in 196b57d. [](commit_id = 196b57d, deletion_comment = False) |
its kindof a weird way to do that, why not just
In reply to: 568130439 [](ancestors = 568130439,568038366) Refers to: dev/NavigationView/NavigationView.cpp:2065 in b9d33f5. [](commit_id = b9d33f5, deletion_comment = False) |
/azp run #Resolved |
Azure Pipelines successfully started running 1 pipeline(s). #Resolved |
reverted ShouldPreserveNavigationViewRS4Behavior and ShouldPreserveNavigationViewRS3Behavior to old behavior. Old behavior was inccorectly determining OS version, however updating to correct behavior breaks tests, so reverting to old behavior for now
I don't see any reason this could not be, but maybe because margins and height is being updated on multiple elements, to keep everything consistent? I think its best to leave this as is for now. In reply to: 560544059 [](ancestors = 560544059) Refers to: dev/NavigationView/NavigationView.cpp:3612 in 196b57d. [](commit_id = 196b57d, deletion_comment = False) |
/azp run #Resolved |
Azure Pipelines successfully started running 1 pipeline(s). #Resolved |
No pipelines are associated with this pull request. #Resolved |
1 similar comment
No pipelines are associated with this pull request. #Resolved |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also fixes ItemsRepeater bug #1671
Description
Replaced ListView with ItemsRepeater in NavigationView.
Motivation and Context
Issue #378
Issue #1477
NavigationView's dependency on ListView is a drawback in places where we have to circumvent some of ListView's existing behaviors which results in complicated codepaths and is a way for bugs to be introduced. As more behavior gets added to the control, the more we have to fight with ListView in order to get desired behavior. Moving to ItemsRepeater will provide us more freedom in implementing future functionality as well as resolve some issues that the control currently has due to the usage of ListView.
How Has This Been Tested?