-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
RefreshView IsEnabled enhancements #24290
Conversation
Hey there @kubaflo! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
I see some new APIs? So this probably needs to go into net9.0 |
I think it's just overrides so should be fine for net8 |
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.
Looks good, I just see the IsRefreshing is also not a simple property and has some cross-implications.
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.
From a code perspective, this LGTM.
I do want to give it a real test on a device tomorrow so not going to approve right now.
But, in my mind this is basically approved and if someone can test things that they have been suffering with and confirm it is just that much better we can merge. But, I will play in the morning.
|
||
void ICommandElement.CanExecuteChanged(object sender, EventArgs e) | ||
{ | ||
if((bool)GetValue(IsRefreshingProperty)) |
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.
Just a nit for if I find any issues otherwise we can fix later (or ignore) so we don't lose the nice green checkmark on this PR.
if((bool)GetValue(IsRefreshingProperty)) | |
if (IsRefreshing) |
Description of Change
This Pr is an extension of [Propagate VisualElement.IsEnabled to children]: #12488
Issues Fixed
Fixes #24228
Fixes #19897