-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 Background is not updating using VisualStateManager in iOS #9444
Comments
Hi @sattasundar. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md 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. |
@PureWeen I have investigated a lot and found the root cause. While I am deleting/commenting default Border style from Style.xml, the issue is coming like above attached screenshot in iOS ad macOS
Attached sample zip, you can test that by commenting and uncommenting default border style from Styles.xml So, need some clarification; Can't we delete/comment default styles from Styles.xml file? |
The Stroke property from the Border expect a Brush, not a Color. Can you try again using a SolidColorBrush? |
Hi @sattasundar. 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. |
This is the default style code when we create a MAUI project using template. I didn't change anything. While commenting this default style the issue is coming like above. With this style, its working as expected. |
Description
I have used VisualStateManager for RadioButton Control Template, but Border Background Color is not updating inside that ControlTemplate on iOS.
Steps to Reproduce
Version with bug
6.0.486 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS, macOS
Affected platform versions
iOS 15, macOS 12.4
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: