Skip to content

Add support for textAlign:start/end #45255

@necolas

Description

@necolas

Description

React Native is missing support for textAlign:start and textAlign:end on Text and TextInput elements - https://developer.mozilla.org/en-US/docs/Web/CSS/text-align#syntax

These values are important for supporting RTL layouts, and should react to the direction style on ancestral Views on all platforms.

Steps to reproduce

  1. Set textAlign:end
  2. Notice it doesn't work

React Native Version

0.75

Affected Platforms

Runtime - Android, Runtime - iOS

Output of npx react-native info

.

Stacktrace or Logs

.

Reproducer

.

Screenshots and Videos

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Help Wanted :octocat:Issues ideal for external contributors.Never gets stalePrevent those issues and PRs from getting stalePartnerp: FacebookPartner: Facebook

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions