Skip to content

Is <TextInput textAlignVertical /> intentionally effective? #1848

@Huxpro

Description

@Huxpro

The multiline section of <TextInput> mentioned textAlignVertical without saying where exactly should we add this prop.

Searches on textAlignVertical give Text Style Props which seems to be the recommended place to use it. But I accidentally find adding the prop onto <TextInput> effective as well.

I am not sure if this is an intentional behavior (then we might want to document it on TextInput) or some leaking bugs of somewhere in the react-native core?

Here is a repro-demo using Expo Snack.

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleIssues/PR that are not getting much activity and are closer to be closed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions