[Android]: Incorrect work of native.newTextBox
After enabling dark mode, native.newTextBox color does not work correctly. Even if the setTextColor method has been called, the text color remains to be white (no focus), and turns black during editing (is focus).
The bug is reproduced if the parameter .hasBackground = false is applied to native.newTextBox. The bug appears when the application is minimized and deployed.
Device: Redmi Note 9 Pro OS: Android 10
The strange behavior can be seen in the video - https://youtu.be/cPbqqFtoLS8 Bug project - https://drive.google.com/file/d/1OvxPkYIm_elSyKoXD_46kTm5BwtCpvR4/view?usp=sharing
I ran into a problem trying to reproduce this issue. I tested on 3 devices, android 9, 10 and 11 (this one on simulator) and all of them worked fine.
If there are no problems with the code, then the problem is in the Chinese device itself.