Skip to content

TextField - fix text alignment in RTL #1445

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 2 commits into from
Aug 8, 2021

Conversation

M-i-k-e-l
Copy link
Collaborator

Description

TextField - fix text alignment in RTL

Changelog

TextField - fix text alignment in RTL

@@ -800,7 +800,7 @@ function createStyles({centered, multiline}, rightItemTopPadding = 0) {
},
errorMessage: {
color: Colors.red30,
textAlign: centered ? 'center' : undefined
textAlign: centered ? 'center' : 'left'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need a similar treatment here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not from what I've tested, seems like Text (and probably RNText) is working properly unlike RNTextInput.

@ethanshar ethanshar enabled auto-merge (squash) August 8, 2021 14:49
@ethanshar ethanshar merged commit 3ac1e49 into master Aug 8, 2021
@M-i-k-e-l M-i-k-e-l deleted the fix/text-field-text-alignment branch October 4, 2021 08:04
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