-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Mac Catalyst] NullReferenceException in DragAndDropDelegate #28416
Copy link
Copy link
Closed
Labels
area-gesturesGesture typesGesture typesplatform/macosmacOS / Mac CatalystmacOS / Mac Catalysts/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
This line is the source of the crash
| HandleDropCompleted(cdi.View, new PlatformDropCompletedEventArgs(cdi.View.Handler.PlatformView as UIView, interaction, session)); |
because cdi.View.Handler can be null.
The scenario when this happens seems to be that here one can actually remove a view from the UI tree. Consequently cdi.View.Handler can be null.
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
9.0.50 SR5
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
macOS
Affected platform versions
No response
Did you find any workaround?
No.
Relevant log output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-gesturesGesture typesGesture typesplatform/macosmacOS / Mac CatalystmacOS / Mac Catalysts/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working