Skip to content
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

Text Nesting removes bold V3.4.4 #2840

Closed
caixaceca opened this issue Aug 9, 2024 · 4 comments
Closed

Text Nesting removes bold V3.4.4 #2840

caixaceca opened this issue Aug 9, 2024 · 4 comments

Comments

@caixaceca
Copy link

caixaceca commented Aug 9, 2024

fter I upgraded from version 3.3.1 to version 3.4.4
When I nest the Text component with other Text components (i.e. Text inside Text) I lose the added bold.
Ex:
Hello <Text style={{ style={{ fontWeight: 'bold' }}>World
In this case, I want only the word WORLD to be in bold, but it isn't.

However, if I do this, all the text becomes bold.
<Text style={{ style={{ fontWeight: 'bold' }}>Hello World

Summary:
In nested Text, if I put part of the text in the middle or at the end in bold, it is not applied, but if I put it at the beginning, the entire text is in bold.

@caixaceca caixaceca changed the title Text Nesting removes bold Text Nesting removes bold V3.4.4 Aug 9, 2024
@dessertZombies
Copy link

i also have same issues

@moughxyz
Copy link

As far as I can tell fontWeight and fontStyle are not working at all, even in the repl environment:

Screenshot 2024-08-19 at 10 00 53 AM

I've set the text to bold and italic but it still renders plainly.

@jh-9527
Copy link

jh-9527 commented Aug 29, 2024

Did you find a solution?

@diegomura
Copy link
Owner

Should be fixed in latest version. Please re-open if it's not the case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants