-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
iOS Radio Button displays with same black coloring in Dark Mode #11747
Comments
Hi @petermauger. 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. |
This issue has been automatically marked as stale because it has been marked as requiring author feedback to reproduce the issue 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. |
Can confirm that the effect occurs when using both ListView and CollectionView to house the radio buttons. One per item but linked with same group label |
Same here with this Page-Constructor in dark mode on iOS in .NET 7. public TestPage() |
Hi @petermauger. 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. |
Was there something wrong with @PureWeen repro code above? |
I have a repro at https://github.com/DanTravison/RadioButtonTheme and also see difference issues on Windows. The result is I have not been able to use RadioButton in apps that use themes - either the background is wrong, or the text doesn't appear, or the buttons are not visible. |
Hello, with this last pull request, the issue should be fixed for ios.
|
Description
When an iOS device has radio buttons on the view and is in Dark Mode, the radio buttons don't 'appear' to the user. If you set the BackgroundColor of the radio buttons to White then you see that they are actually being rendered but as Black color, and on the typically black background they can't be seen.
Android correctly renders the radio button as white when in Dark Mode.
I've tried to find a Color setting that applies to the radio button circle and dot but none of the colors on that control have any affect.
Steps to Reproduce
Link to public reproduction project repository
Straightforward to reproduce with new project
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS All
Did you find any workaround?
Set Radio Button background color for dark mode to be in contrast to Black
Ideally would have ability to directly interact with radio button 'dot and circle' coloring, but doesn't appear to be any way to do that at the moment
Relevant log output
The text was updated successfully, but these errors were encountered: