Skip to content

[Bug] ListView context item "More" crashes iOS app running on macOS 14+ #26769

Closed
@VitalyKnyazev

Description

@VitalyKnyazev

Description

iOS app crashes on MacOS 14+ because PopoverPresentationController there is always null. Corresponding Xamarin Forms issue xamarin/Xamarin.Forms#15874.

Steps to Reproduce

  1. Create an iOS app with ListView and context menu that has "More" item.
  2. Launch the app on Mac OS 14+.
  3. Click "More" item.

Expected outcome:
No crash and the popup has "Cancel" button as clicking outside popup does not dismiss it.

Actual outcome:
The app crashes with SIGTRAP (NRE).

Link to public reproduction project repository

N/A yet

Version with bug

9.0.21 SR2.1

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS app running on Mac OS 14+

Did you find any workaround?

N/A, except patching and recompiling MAUI package locally

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions