Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Border content clipping issue on iOS #12398

Closed
tranb3r opened this issue Jan 3, 2023 · 6 comments
Closed

Border content clipping issue on iOS #12398

tranb3r opened this issue Jan 3, 2023 · 6 comments
Labels

Comments

@tranb3r
Copy link

tranb3r commented Jan 3, 2023

Description

When using a Border with a RoundRectangle stroke shape, the content of the border is clipped even if there is enough margin.
The bug is only for the top-left corner (the 3 other corners are fine), which is weird.
This happens only on iOS. No issue on Android.

Steps to Reproduce

  1. Create Maui app (for iOS and Android)
  2. Add page with Border (RoundRectangle shape) and content
  3. Compare Android and iOS displays

Link to public reproduction project repository

https://github.com/tranb3r/Issues/tree/main/MauiAppBorderPaddingClip

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 16.1

Did you find any workaround?

no workaround

Relevant log output

No response

@tranb3r tranb3r added the t/bug Something isn't working label Jan 3, 2023
@ghost ghost added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Jan 3, 2023
@activa
Copy link
Contributor

activa commented Jan 4, 2023

Could be related to #7521

@danielftz
Copy link

The workaround Ive found is that instead of setting Padding for the Border, set the Margin for its Content instead.

@tranb3r
Copy link
Author

tranb3r commented Jan 4, 2023

The workaround Ive found is that instead of setting Padding for the Border, set the Margin for its Content instead.

I've thought about that. Unfortunately, it does not work on my sample.

@rachelkang
Copy link
Member

Duplicate of #10724

@rachelkang rachelkang marked this as a duplicate of #10724 Jan 4, 2023
@tranb3r
Copy link
Author

tranb3r commented Jan 4, 2023

@rachelkang
Are you sure this a duplicate ? How do you explain that only the top-left corner has an issue here ?

@danielftz
Copy link

Duplicate of #10724

@rachelkang Are you sure this a duplicate ? How do you explain that only the top-left corner has an issue here ?

Yea they don't seem to be clipping the same way.

@ghost ghost locked as resolved and limited conversation to collaborators Feb 4, 2023
@Eilon Eilon removed the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants