Skip to content

Omit alignment props from passing forward to Text and TextInput components #2540

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

Merged
merged 1 commit into from
Mar 26, 2023

Conversation

ethanshar
Copy link
Collaborator

Description

Temporarily omit alignment props (top, left, right, bottom) from being passed on to Text and TextInput components.
This is due an issue with Android crashing when these props are passed.
The ideal solution is to remove these typings all together, unfortunately because of how we handle modifiers typings, we allow all boolean props

Changelog

Omit alignment props (top, left, right, bottom) from being passed on to Text and TextInput components to avoid a crash on Android (RN71)

@lidord-wix lidord-wix enabled auto-merge (squash) March 26, 2023 11:33
@lidord-wix lidord-wix merged commit b5db7c1 into master Mar 26, 2023
@ethanshar ethanshar deleted the feat/OmitAlignmentProps branch April 2, 2024 06:40
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

Successfully merging this pull request may close these issues.

2 participants