Skip to content

Embedding an iOS ContentView or Layout does not get a size #19340

Open
@mattleibow

Description

@mattleibow

Description

If I embed a button or entry, the default layout by iOS works as expected.

However, if there is a layout or content view, the view has a size of 0x0 and thus none of the items are interactable since they are all outside the bounds of the views.

Android Working Mac Catalyst Not Working

Steps to Reproduce

  1. Clone https://github.com/mattleibow/EmbeddedMauiApps
  2. Run on Mac Catalyst
  3. Observe nothing works from maui
  4. Run on Android/Windows
  5. Observe things work

Link to public reproduction project repository

https://github.com/mattleibow/EmbeddedMauiApps

Version with bug

8.0.3

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS, macOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-layoutStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresentermigration-compatibilityXamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convertplatform/iosplatform/macosmacOS / Mac Catalystt/bugSomething isn't workingt/native-embedding

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions