Skip to content

Conversation

Pap36
Copy link
Contributor

@Pap36 Pap36 commented May 13, 2025

The label for a Text Input, when not in focus, overlaps the left component. This PR updates the threshold values required for translationX to be in accordance with support for React Native version 0.77 as release 5.14.1 mentions in the changelog.

Related issue

InputLabel does not translate accordingly when left component is present on react native 0.77.

Test plan

Create a simple TextInput with a text label and any left element (either TextInput.Icon or TextInput.Affix). The current version (5.14.1 with react native 0.77) works like this:

image

After updating threshold for translateX the result is:

image

@callstack-bot
Copy link

Hey @Pap36, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

@lukewalczak lukewalczak merged commit aae6e42 into callstack:main May 13, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants