-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
ListDetailsView navigation data loss #3546
Comments
Hello huwpascoe, thank you for opening an issue with us! I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌 |
@huwpascoe Thanks for highlighting the issue. Do you want to work on it and create a PR? |
Yeah, tested with a WinUI TabView and that works as expected. I imagine it has something to do with how we update the selected item and update the presenter from the selection somewhere here? |
@michael-hawker I don't believe that #4255 fixed that issue. #4222 correctly tests for the underlying cause of this issues but lacks a solution. |
Describe the bug
MasterDetailsView, navigation events are processed in incorrect order resulting in data loss for controls that use {x:Bind UpdateSourceTrigger=LostFocus} type binding.
Steps to Reproduce
Expected behavior
MasterDetailsView
1 ItemSelected
2 LostFocus => {x:Bind} saves data
3 Navigate
Actual Behavior
1 ItemSelected
2 Navigate => unsaved data overwritten
3 LostFocus
Screenshots
Environment
The text was updated successfully, but these errors were encountered: