dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
21.83k stars 1.67k forks source link

ImageEditor control is not visible inside Frame on iOS #20862

Open Shalini-Ashokan opened 4 months ago

Shalini-Ashokan commented 4 months ago

Description

The image editor control fails to appear within the frame, but it is correct on the Windows and Android platforms. The size is not getting properly.

<Frame>
<imageEditor:SfImageEditor x:Name="imageEditor" Margin="0" Source="bannerimage.png"/>
</Frame>

Steps to Reproduce

  1. Create a new Maui application.
  2. Add an image editor control to the frame.
  3. Run the application on an iOS or macOS platform.

Link to public reproduction project repository

https://github.com/Shalini-Ashokan/IOSImageEditor

Version with bug

Unknown/Other

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

IOS 16.2, macOS 12.6.3

Did you find any workaround?

No response

Relevant log output

No response

Zhanglirong-Winnie commented 3 months ago

Verified on VS for Mac 17.6.10 build 428 (8.0.7), can repro issue with sample project on iOS and macOS platforms.