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

Frame.CornerRadius not working on iOS #10643

Closed
AndyG74 opened this issue Oct 12, 2022 · 9 comments
Closed

Frame.CornerRadius not working on iOS #10643

AndyG74 opened this issue Oct 12, 2022 · 9 comments
Labels
area-controls-frame Frame platform/iOS 🍎 s/needs-info Issue needs more info from the author t/bug Something isn't working
Milestone

Comments

@AndyG74
Copy link

AndyG74 commented Oct 12, 2022

Description

FrameCornerRadius

Steps to Reproduce

set the CornerRadius property on Frame object, then you can see on iOS there is no CornerRadius.

Link to public reproduction project repository

https://1drv.ms/u/s!AvfMdSsMYykdkqJE-tsYDQaScSxFSA

Version with bug

6.0.486 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iPhone 14 Simulator iOS 16.0

Did you find any workaround?

No response

Relevant log output

No response

@AndyG74 AndyG74 added the t/bug Something isn't working label Oct 12, 2022
@GalaxiaGuy
Copy link
Contributor

That sample link goes to MauiFrameOpacity which doesn't seem to be the correct sample.

However, have you tried adding IsClippedToBounds="True"?

https://learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/frame

Frame is considered a legacy control so this may be a bug, or may be an intentional compatibility quirk for Xamarin Forms.

@AndyG74
Copy link
Author

AndyG74 commented Oct 12, 2022

border is not a equal control to frame, there is not corner radius. but, IsClippedToBounds="True" is the solution.

@rmarinho
Copy link
Member

maybe related with #10480

@ghost ghost added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Oct 12, 2022
@PureWeen PureWeen added this to the Backlog milestone Oct 12, 2022
@ghost
Copy link

ghost commented Oct 12, 2022

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

@danielftz
Copy link

border is not a equal control to frame, there is not corner radius. but, IsClippedToBounds="True" is the solution.
If you set the Stroke as RoundRectangle then Border can be used as a Frame

@jsuarezruiz
Copy link
Contributor

border is not a equal control to frame, there is not corner radius. but, IsClippedToBounds="True" is the solution.

Not related with the issue, which we must fix but you can use any Shape with the Border, included a RoundRectangle where you can set the radius from any corner.

@jsuarezruiz
Copy link
Contributor

Could you try with the latest version? Tried with net7 rc2 and cannot reproduce the issue.

Captura de Pantalla 2022-10-20 a las 14 29 16

@jsuarezruiz jsuarezruiz added the s/needs-info Issue needs more info from the author label Oct 20, 2022
@ghost
Copy link

ghost commented Oct 20, 2022

Hi @AndyG74. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@ghost ghost added the s/no-recent-activity Issue has had no recent activity label Oct 24, 2022
@ghost
Copy link

ghost commented Oct 24, 2022

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

@ghost ghost closed this as completed Oct 27, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Nov 26, 2022
@Eilon Eilon removed the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 10, 2024
@dotnet-policy-service dotnet-policy-service bot removed the s/no-recent-activity Issue has had no recent activity label May 10, 2024
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-frame Frame platform/iOS 🍎 s/needs-info Issue needs more info from the author t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants