Skip to content

iOS/macOS Images not cropped inside of a Frame #6580

@jamesmontemagno

Description

@jamesmontemagno

Description

Screen Shot 2022-04-27 at 7 03 50 PM

Take https://github.com/dotnet-presentations/dotnet-maui-workshop/tree/main/Finish and run on iOS or mac catalyst

                <Frame
                    Grid.RowSpan="2"
                    Grid.Column="1"
                    Margin="0,80,0,0"
                    HeightRequest="160"
                    WidthRequest="160"
                    HorizontalOptions="Center" 
                    Padding="0"
                    CornerRadius="80">
                    <Image
                        Aspect="AspectFill"
                        HeightRequest="160"
                        HorizontalOptions="Center"
                        VerticalOptions="Center"
                        Source="{Binding Monkey.Image}"
                        WidthRequest="160"/>
                </Frame>

This should crop like it does on Android/Windows.

Steps to Reproduce

See above^

Version with bug

Release Candidate 2 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS, macOS

Affected platform versions

All

Did you find any workaround?

Have to set

       IsClippedToBounds="True"

This should be consistent though between all platforms

Relevant log output

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions