-
-
Notifications
You must be signed in to change notification settings - Fork 14
Make sure edited text in input field is visible and legible when editing in modes other than standard light mode #156
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
base: main
Are you sure you want to change the base?
Conversation
… other than standard light mode
|
Hi @Zishan-Rahman, I'm seeing this:
Have I misunderstood what this fixes? |
… input text fields Instead of just dropdown fields (typo)
|
@tracygardner Hopefully my latest commit fixed it 🙏 |
|
@Zishan-Rahman I still see the same. What are you seeing? I searched and found the value in the HTML and then targetted it: Which seems to work for me. There's an html overlay. |
@tracygardner I thought I got it to work before I opened the PR? I could've sworn it did, but what's meant to happen is that the text itself is supposed to be white on a grey-ish background while you edit the text: It's meant to stay white while I edit the text, but for some reason that's not what's happening now as I'm able to reproduce the same issue you have: I thought the white-on-black text would look nicer and be an easy way to resolve this, but perhaps I should've consulted you and Becky on that particular colour choice first. Your original black-on-white solution (as discussed privately) is a better way out of this. I'll implement that now. |
… editing in dark modes and contrast mode Co-authored-by: Dr Tracy Gardner <[email protected]>
|
@Zishan-Rahman As I understood it from Becky, this wasn't something that needed changing at this stage, so all I was doing was making it consistent. The change to black background looks like an unintended side effect of another change. If we were going to change this for dark mode then it would be consistently throughout, not just for editing. |
|
@tracygardner I implemented your fix, but the only thing is that the background doesn't change to red anymore if you enter an invalid input as you'd expect it to (it still rejects it when you press Enter, it just doesn't show it's invalid while you edit it): |
|
@Zishan-Rahman It was just a hint to help you get unstuck. You probably need to target more carefully. |
|
Good point. I'll keep digging. Thanks. |




No description provided.