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

React Native - Styles not applying to <Text/> component #1514

Closed
1 of 12 tasks
dharveshmydeen15 opened this issue Jul 31, 2024 · 3 comments
Closed
1 of 12 tasks

React Native - Styles not applying to <Text/> component #1514

dharveshmydeen15 opened this issue Jul 31, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@dharveshmydeen15
Copy link

I am interested in helping provide a fix!

Yes

Which generators are impacted?

  • All
  • Angular
  • HTML
  • Preact
  • Qwik
  • React
  • React-Native
  • Solid
  • Stencil
  • Svelte
  • Vue
  • Web components

Reproduction case

https://mitosis.builder.io/playground/?code=JYWwDg9gTgLgBAbzgVwM4FMDKMCGN1wC%2BcAZlBCHAEQACARssADYAm6UAdMBAPQjAwIqYKioBuAFAT0AD0iw4bEjmRN4JZADsAxjG6a4AWQCeAYQqRN6TTAAUYcmFQBKRBLhxtETangBtTRwQdAAaOAwYADkg9ABdOABeFAxsPHRbKmx0ADd0KmdJdzgodBhkKANbIo8AHhZgbIA%2Bao84GuBNMGQYFtbPVFQEhARevs8IJmgALmoSlioQ0Y9CQiW4bJwmZHQhwODVsdbvUwALHE0Acx2EWxzrGFcExvDS6ODb3JsOXCgrmA4Nlt0M4DmMeM1DjVUGBzv1BsM1l5JlAZlQ5gtRitGgAJdBMSYAQjgAElPLCoFo4IE9LkmMY4B04AAldA4XRhABq2zCmFp%2BDCAEUAO7AADWYXOLDgIHO9JA0AIZBiQugotQBJqPGh5whrU19SaRQKEkIQA

Expected Behaviour

Styles should apply for element also currently its applying only for

Actual Behaviour

Additional Information

No response

@dharveshmydeen15 dharveshmydeen15 added the bug Something isn't working label Jul 31, 2024
@JerryWu1234
Copy link
Contributor

I'll check this problem

@JerryWu1234
Copy link
Contributor

JerryWu1234 commented Aug 26, 2024

       <View >
        <Text style={styles.view1}>
          Hello! I can run natively in React, Vue, Svelte, Qwik, and many more
          frameworks!
        </Text>
      </View>

your expected is like this ?
@dharveshmydeen15

@samijaber
Copy link
Contributor

I don't see an issue in the playground you linked. Unclear to me what the problem is.

Closing due to lack of information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants