You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v7.x
Current Behavior
A focusable item (for example with a button or a checkbox inside) is generally highlighted when focused via keyboard. However, this highlight is barely visible for light items (color="light") in iOS dark mode. This happens because the background color of the highlight is set to #000 in this case.
The first three screenshots are from focusing the default, light, and medium item in iOS dark mode. The remaining screenshots are from focusing the same items in Material Design dark mode. The issue does not occur in light mode.
Another note: In iOS dark mode, the lines of light items are not really visible. In Material Design dark mode, the lines of default and light items are not really visible.
Expected Behavior
The light item in iOS dark mode should use the same focus highlight style as the other items, or at least one with better visibility.
Thanks for the issue. I am going to close this as a duplicate of #21149.
The linked issue mentions the color="dark", but that issue is testing in light mode. The hex color for color="dark" in light mode is the same as the hex color for color="light" in dark mode.
@liamdebeasi I found the other issue, but thought I would report a new one, as this one is for the highlight on the item, not the button. Anyway, thanks for your work!
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Prerequisites
Ionic Framework Version
v7.x
Current Behavior
A focusable item (for example with a button or a checkbox inside) is generally highlighted when focused via keyboard. However, this highlight is barely visible for light items (
color="light"
) in iOS dark mode. This happens because the background color of the highlight is set to#000
in this case.The first three screenshots are from focusing the default, light, and medium item in iOS dark mode. The remaining screenshots are from focusing the same items in Material Design dark mode. The issue does not occur in light mode.
Another note: In iOS dark mode, the lines of light items are not really visible. In Material Design dark mode, the lines of default and light items are not really visible.
Expected Behavior
The light item in iOS dark mode should use the same focus highlight style as the other items, or at least one with better visibility.
Steps to Reproduce
ionic start
ios
prefers-color-scheme: dark
Code Reproduction URL
https://github.com/fschuetz04/ionic-ios-dark-focus
Ionic Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: