-
Notifications
You must be signed in to change notification settings - Fork 166
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Because it cut parts of the text with an odd behaviour.
CodeSandbox/Snack link
not informed
Steps to reproduce
Failing to render the text "AI Interview Buddy".
- Create a text
<Text size="3xl" className="font-extrabold text-orange-500 mb-2">AI Interview Buddy</Text>
- See the system is cutting the word buddy
- Change the text to "AI Interview Buddy1" and it works fine.
Obs.: Web and Ios works just fine.
More details:
The code statement:
import { Box } from "@/components/ui/box";
import { Text } from "@/components/ui/text";
export default function TailWindCss() {
return (
<Box className="flex-1 items-center justify-center bg-white">
<Text className="text-xl font-bold text-blue-500">Welcome to Nativewind x2!</Text>
<Text size="3xl" className="font-extrabold text-orange-500 mb-2">AI Interview Buddy</Text>
</Box>
);
}
Just adding a "1" at the end of the text, making it "AI Interview Buddy1", it works:
export default function TailWindCss() {
return (
<Box className="flex-1 items-center justify-center bg-white">
<Text className="text-xl font-bold text-blue-500">Welcome to Nativewind x2!</Text>
<Text size="3xl" className="font-extrabold text-orange-500 mb-2">AI Interview Buddy1</Text>
</Box>
);
}

I tried removing font-extrabold
and adding bold
, it worked for that size, however, failed for xl
:
<Text size="xl" bold className="text-orange-500 mb-2">AI Interview Buddy</Text>

gluestack-ui Version
v2
Platform
- Expo
- React Native CLI
- Next
- Web
- Android
- iOS
Other Platform
No response
Additional Information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working