Open
Description
Describe the bug
I used @layer base to define a property that applied to all React Native "Text" component and it didn't apply
npx rn-new@latest --nativewind
.
Expected behavior
Should apply like the usual case
Additional context
- Nothing else has been modified after running the template creation command (npx rn-new@latest --nativewind), aside from adding a @layer base and an extra Text component as children in ScreenContent in App.tsx
- Haven't test with other directives
- Regular tailwind class still work as intended, standalone or in conjuction with the directive
- !important has been tried in the @layer base to see but the same result occurs, nothing is being applied.
- Put Text component outside of ScreenContent to see if being a child affect anything, also the same result, nothing is applied.
- Every attempt to discern the problem was done using Expo Go with reinstall node module, package-lock and clear cache before rerun using Expo SDK 53, nativewind version at 4.1.23 and latest, tailwind css at 3.4.17. and 3.4.0. Same result every time, nothing is applied
Metadata
Metadata
Assignees
Labels
No labels