dotMorten / MauiEx

A set of .NET MAUI controls
Apache License 2.0
225 stars 55 forks source link

iOS app crash when set ItemSource in modal page #78

Closed CrowdedFuzzball closed 1 year ago

CrowdedFuzzball commented 4 years ago

So, the problem was reproduced.

In some layouts, when opening a page modally, the SelectionList element is not embedded in the window hierarchy and does not apply to any window => the specified constraints cannot be satisfied and the application crashes when trying to change the ItemsSource.

This fix solves this problem.

CrowdedFuzzball commented 4 years ago

Sorry, but why this PR was closed?

Problem exists, it solves and may have people with your project.

Also ModalViewController property of view controller deprecated now and there are new property called PresentedViewController instead.

dotMorten commented 4 years ago

what???? I didn't close this. I renamed the main branch - I wonder if that triggered a close of the PR?

CrowdedFuzzball commented 4 years ago

As I see - yes, renaming leads to close PR that will aimed on this branch 🙂