Open
Description
openedon May 11, 2023
Description
Even though I didn't explicitly specify the IsClippedToBounds value for Frame,
it behaves as True on Android.
I tested with the following layout.
<Grid RowDefinitions="*,150,*" ColumnDefinitions="*,150,*">
<Frame x:Name="frm" Grid.Row="1" Grid.Column="1" CornerRadius="20" HasShadow="False" Padding="0">
<Grid BackgroundColor="SkyBlue" />
</Frame>
</Grid>
[Android]
[iOS]
I checked the default value after calling the InitializeComponent method and it is False for both Android and iOS.
Android behavior seems to be incorrect. I was expecting non-clipped behavior because Frame's IsClippedToBounds
default value is False.
Steps to Reproduce
The steps to reproduce are as follows.
- Launch the app uploaded to github on your Android
In step 1, the Grid clipped by Frame is drawn on the screen.
Link to public reproduction project repository
https://github.com/cat0363/Maui-IssueFrameClip.git
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 11.0
Did you find any workaround?
Explicitly specify a value for IsClippedToBounds.
Relevant log output
No response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment