-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Windows] Fixed the OneWayBinding issue with MultiBindingConverter on Slider and Stepper Value #28219
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
base: main
Are you sure you want to change the base?
Conversation
|
Hey there @Ahamed-Ali! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
| using System.ComponentModel; | ||
| using System.Globalization; | ||
|
|
||
| namespace Maui.Controls.Sample.Issues |
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.
Super-nit: After #28040, you can convert this to file-scope namespace by CTRL+. in Visual Studio (I believe it's the same in VS Code).
If it is converted, then new files will use file-scope namespaces more and more as people IMO copy old files to create new code.
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.
Thanks for the suggestion , I have changed the file-scope namespace. @MartyIX
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
/rebase |
77b538c to
7b62837
Compare
|
/rebase |
7b62837 to
82536a6
Compare
|
/rebase |
82536a6 to
3c158d9
Compare
|
/azp run MAUI-UITests-public |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Root Cause of the issue
VirtualView.Valueis updated unnecessarily even when it has already been updated, causing an issue with the MultiBinding Converter.Description of Change
unnecessaryupdates toVirtualView.Valueresolved the One-Way binding issue with the MultiBinding Converter.Issues Fixed
Fixes #28208
Tested the behaviour in the following platforms
Screenshot
OneWayBindingModeIssueVideo.mp4
OneWayBindingModeFixVideo.mp4