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
{{ message }}
Repository navigation
[DOM / Skia?][Gallery][WASM] Text input color remains black across both light and dark themes #20747
area/canary 🐤Categorizes an issue or PR as relevant to canary testingnative-onlyOnly affects native renderers (Android Views / UIKit / WASM DOM); close after 7.0platform/wasm 🌐Categorizes an issue or PR as relevant to the WebAssembly platform
The text color for all input fields appears as black regardless of the selected theme. Switching between light and dark themes does not update the text color—it stays black in both
changed the title [-][Skia][Gallery][WASM] Text input color remains black across both light and dark themes[/-][+][DOM][Gallery][WASM] Text input color remains black across both light and dark themes[/+]on Jun 9, 2025
@agneszitte After restarting my system, I'm not able reproduce the issue in the Skia Gallery. However, the issue still persists in the Native Gallery (Canary build from 30th May'25). This appears to be a regression in SR3, as it does not occur in the SR2 version (from 29th Mat'25).
We need to review the related changes in these versions to identify the cause of the regression, and if it is something that will be introduced with SR3 or was there already before.
(And also to verify if it is still not happening with skia version as @jhanvi03 was able to reproduce the issue at some point for Skia Gallery version as well)
I was not able to quickly repro this problem with latest master branch or canaries/dev branch in Uno.Gallery. I tried both skia and native rendering.
I found these changes in Uno that might be related? 0b4512f It looks like the changes might impact TextBox Foregrounds on Wasm and it was made on May 29th, which would fall between the versions you listed. Since I wasn't able to repro locally I couldn't test to see if these changes are actually the problem
This is a very odd issue. Testing with the same SDK locally indeed does not show this issue neither with Samples app nor with Gallery DOM. It seems even though the exact same Sdk is used, in the case of the deployed canary the color CSS property is never set on textarea whereas it is set correctly when ran locally instead.
Not sure how to investigate further, as I am unable to reproduce myself in any way...
@jeromelaban unfortunately no, it only works for me locally, but not with the staging PR sites either. I am not sure what can be the difference that causes this 🤔 . I am likely not going to be able to figure it out before I leave for PTO, so feel free to check it/assign to someone else to investigate.
I can only reproduce on the wasm/dom canary but I'm looking into #20905, maybe we'll get lucky and find it to be the same problem somehow.
Edit: This is actually misleading. I thought I tested it locally but I couldn't because of some build issues I couldn't resolve. So I'm not sure if it repros only on the canary or locally too.
I found that this only happens when the project is published. (using wwwroot)
Run with Debug / Release config with Visual Studio doesn't reproduce this issue.
Yes. This happens only on the published app. This started to happen several months ago with new versions of Uno. Very annoying because I have published an app. Yes, Debug/Release works.
area/canary 🐤Categorizes an issue or PR as relevant to canary testingnative-onlyOnly affects native renderers (Android Views / UIKit / WASM DOM); close after 7.0platform/wasm 🌐Categorizes an issue or PR as relevant to the WebAssembly platform
Activity
agneszitte commentedon Jun 9, 2025
@jhanvi03 is it a latest regression please?
[-][Skia][Gallery][WASM] Text input color remains black across both light and dark themes[/-][+][DOM][Gallery][WASM] Text input color remains black across both light and dark themes[/+]jhanvi03 commentedon Jun 9, 2025
@agneszitte After restarting my system, I'm not able reproduce the issue in the Skia Gallery. However, the issue still persists in the Native Gallery (Canary build from 30th May'25). This appears to be a regression in SR3, as it does not occur in the SR2 version (from 29th Mat'25).
agneszitte commentedon Jun 9, 2025
Based on @jhanvi03's feedback, a regression seems to have been introduced between Uno.Sdk 6.1.0-dev.185 and Uno.Sdk 6.1.0-dev.187.
We need to review the related changes in these versions to identify the cause of the regression, and if it is something that will be introduced with SR3 or was there already before.
(And also to verify if it is still not happening with skia version as @jhanvi03 was able to reproduce the issue at some point for Skia Gallery version as well)
rajamatt commentedon Jun 9, 2025
I was not able to quickly repro this problem with latest master branch or canaries/dev branch in Uno.Gallery. I tried both skia and native rendering.
I found these changes in Uno that might be related? 0b4512f It looks like the changes might impact TextBox Foregrounds on Wasm and it was made on May 29th, which would fall between the versions you listed. Since I wasn't able to repro locally I couldn't test to see if these changes are actually the problem
MartinZikmund commentedon Jun 10, 2025
Indeed, seems like a issue introduced by the
IsEnabledchange, although suspiciously this was covered by tests already 🤔 . InvestigatingMartinZikmund commentedon Jun 10, 2025
This is a very odd issue. Testing with the same SDK locally indeed does not show this issue neither with Samples app nor with Gallery DOM. It seems even though the exact same Sdk is used, in the case of the deployed canary the
colorCSS property is never set ontextareawhereas it is set correctly when ran locally instead.Not sure how to investigate further, as I am unable to reproduce myself in any way...
9 remaining items
MartinZikmund commentedon Jun 21, 2025
@jeromelaban unfortunately no, it only works for me locally, but not with the staging PR sites either. I am not sure what can be the difference that causes this 🤔 . I am likely not going to be able to figure it out before I leave for PTO, so feel free to check it/assign to someone else to investigate.
Jen-Uno commentedon Jun 24, 2025
@ebariche @Xiaoy312 can one of you take this issue, please?
ramezgerges commentedon Jun 30, 2025
I can only reproduce on the wasm/dom canary but I'm looking into #20905, maybe we'll get lucky and find it to be the same problem somehow.
Edit: This is actually misleading. I thought I tested it locally but I couldn't because of some build issues I couldn't resolve. So I'm not sure if it repros only on the canary or locally too.
ramezgerges commentedon Jun 30, 2025
No, it's not the same issue at all.
MartinZikmund commentedon Jul 1, 2025
Yeah, I wasn't able to reproduce locally either... Would you be able to try this one out @Xiaoy312 please?
kazo0 commentedon Jul 1, 2025
@MartinZikmund / @ramezgerges / @Kunal22shah If we confirm that this is non-Skia only then this will need to be deprioritized
MartinZikmund commentedon Jul 1, 2025
@kazo0 yes indeed, it is non-Skia only, but as it is a recent regression, it would be valuable to understand why it happens
airtaxi commentedon Dec 31, 2025
I found that this only happens when the project is published. (using wwwroot)
Run with Debug / Release config with Visual Studio doesn't reproduce this issue.
navio-n commentedon Jan 22, 2026
Yes. This happens only on the published app. This started to happen several months ago with new versions of Uno. Very annoying because I have published an app. Yes, Debug/Release works.
saadsharif commentedon May 11, 2026
Is there any update on this? This is related to our issue #22775