Skip to content

iOS MediaElement in CollectionView on FlyoutPage #2517

@jaredmorley

Description

@jaredmorley

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

Using a flyout page with a mediaelement in an itemsview such as collectionview crashes in https://github.com/CommunityToolkit/Maui/blob/5d1e343f52f651a14b4f51451e4d4d1c70d3a9c6/src/CommunityToolkit.Maui.MediaElement/Views/MauiMediaElement.macios.cs TryGetCurrentPage because the flyoutpage will not use window.Navigation.NavigationStack

Expected Behavior

Not crash and the mediaelement should work

Steps To Reproduce

  1. Run the solution on ios

Link to public reproduction project repository

https://github.com/jaredmorley/MediaElement

Environment

- .NET MAUI CommunityToolkit:11.0.0
- OS:18.1.1
- .NET MAUI:9.0.30

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working📽️ MediaElementIssue/PR that has to do with MediaElement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions