Skip to content

React Native 0.73 supports transformOrigin which can potentially fix TextInput issues #4341

@alexzel

Description

@alexzel

See related source code:

// Offset label scale since RN doesn't support transform origin

See React Native 0.73 docs mentioning transformOrigin https://reactnative.dev/docs/0.73/transforms#transform-origin

It means we do not need to move TextInput label with translateX to adjust label position after scaling. Most likely translateX was needed b/c transform origin was always related to center before v0.73. Now we can set it left and remove translateX position adjustments.

Related issues:
#4245
#4299
#4340
and possibly more related issues reporting TextInput label flickering..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions