-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[iOS] Fixing #28912 by only hiding context buttons when user already stopped dragging the cell #28914
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
… item is clicked in ListView context menu. Checking PopoverPresentationController for null, it seems to be null checked already in all other places.
…not be called when overridden in derived class
@@ -1655,7 +1655,7 @@ void UpdateNavigationBarVisibility(bool animated) | |||
return; | |||
|
|||
var hasNavBar = NavigationPage.GetHasNavigationBar(current); | |||
if (!_navigation.TryGetTarget(out NavigationRenderer navigationRenderer)) | |||
if (_navigation.TryGetTarget(out NavigationRenderer navigationRenderer)) |
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.
While can understand the changes in the ContextScrollViewDelegate class, I think need more context here? why are you changing this condition?
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.
Yes this change is not related to the main issue, but it is clearly a copy/paste bug and can cause NRE in the next line.
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.
Happy to roll back this one if needed
Description of Change
Fixing #28912 by only hiding context buttons when user already stopped dragging the cell.
Also first commit fixes potential NRE.
Issues Fixed
Fixes #28912