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

inlineSize prop not working for Text component #2476

Open
DanyKrk opened this issue Oct 4, 2024 · 0 comments
Open

inlineSize prop not working for Text component #2476

DanyKrk opened this issue Oct 4, 2024 · 0 comments

Comments

@DanyKrk
Copy link

DanyKrk commented Oct 4, 2024

Description

The inlineSize property is not functioning as expected when applied to the Text component in react-native-svg. While it works correctly for the TSpan component, the property seems to have no effect on the Text component. Also, it turns out that the inlineSize prop doesn't work at all on the web.

Steps to reproduce

  1. Open the provided code in Expo Snack or in a local development environment.
  2. Run the application on an Android device
  3. Run the application on an iOS device

Snack or a link to a repository

https://snack.expo.dev/Y0qUMUj6OO7wp4ZfPBOLT

SVG version

15.3.0

React Native version

0.73.1

Platforms

Android, iOS

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

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

No branches or pull requests

2 participants