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
bg-orange-500 - color not rendered but -400 etc are (v4) #872
Comments
Same happening here, same version. |
Yes, you are right. I removed the class, restarted it (bun run ios), and then re-added it, and it worked. I think the -500 was the issue, but I also got it to happen with -600 also. Once I get the issue, just restarting the server (bun run ios) will not work. I have to remove the class, restart and then add the class back. |
I also tried a prebuild --clean, and this did not fix it. Finally, I was able to get it working by having a View with some value on these and just changing the gap-1 to gap-2 and back again and re-rendered correctly.
If it happens again, then I need to change the gap-1 to gap-2 and back again and then all is fine. So it appears its not related directly to orange-500, from the above snippet, it suddenly stopped rendering anything and restarting the server does not help but updating a style in the view above seems to cause it to render correctly again. Very strange issue. |
Also I tried switching between development build and also Expo Go - same issue. Tried changing iPhone simulator to another I..e iPhone SE, iPhone 15 / Pro etc.. same issue. One thing interesting is that I moved to Android and I couldn't get it to happen, it seemed to work all the time. So it seems (for me at least), its related to iOS only and it seems that it doesn't matter which simulator model I use. |
This seems to be a known issue that's been going on a for a while and there's been a few attempted fixes. It's not directly related to the specific color it seems. There is something going wrong in the "compiler" step and some classes are just randomly ignored. |
Describe the bug
Trying to use bg-orange-500 does not render orange but -400 does and others. Seems there is an issues with -500
To Reproduce
Add this
Expected behavior
Should show an orange background like -400 for example, i.e. this works
Additional context
Using the latest version
The text was updated successfully, but these errors were encountered: