Skip to content

[Skia] MAUI embedding doesn't work #20439

Closed
unoplatform/uno.extensions
#2788

Description

@morning4coffe-dev

Current behavior

Originally posted by @cbdefontenay in #20367

I just created a new startup project from the Uno Wizard template with .NET MAUI embedding, I tried to display the given EmbeddedControl.xaml ContentView from the Maui.Controls generated project in C# Markup, following the documentation on how to implement it:

public sealed partial class MainPage : Page
{
    public MainPage()
    {
        this.Content(
            new StackPanel().Children(
                new Grid().RowDefinitions("Auto,*")
                    .Children(
                        new TextBlock().Text("The Maui Embedding view will be displayed here:").Grid(row: 0),
                        new MauiHost().Grid(row: 1).Source<EmbeddedControl>()
                    )
            )
        );
    }
}

But somehow I just get to see the first TextBlock text on the screen but not the Maui ContentView. Does someone has an idea?

Expected behavior

The control should be displayed the same way as with native rendering. When you switch the same project to native rendering, it does appear.

How to reproduce it (as minimally and precisely as possible)

https://github.com/user-attachments/files/20233574/UnoApp1.zip

Workaround

Switch to Native rendering on Android/iOS.

Works on UWP/WinUI

Yes

Environment

Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia

NuGet package version(s)

Uno.Sdk: 6.0.67

Renderer

  • Skia
  • Native

Affected platforms

Android, iOS

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

Activity

  1. added
    kind/bug
    triage/untriaged
    difficulty/tbd
    on May 16, 2025
  2. added
    kind/regression
    on May 19, 2025
  3. removed
    triage/untriaged
    difficulty/tbd
    on May 21, 2025
  4. added theissue type on May 21, 2025
  5. assigned and unassigned on May 27, 2025
  6. jhanvi03 commented on Jun 18, 2025

    @jhanvi03

    Issue fixed in 6.0.146

  7. github-actions commented on May 6, 2026

    @github-actions
    Contributor

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.

  8. locked as resolved and limited conversation to collaborators on May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bugkind/regression

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions