Skip to content

Conversation

@BuqiLiao
Copy link
Contributor

@BuqiLiao BuqiLiao commented Oct 8, 2024

Motivation

This pull request aims to resolve the TextInput flickering issue caused by the use of translateX to adjust the label position. The recent addition of transformOrigin in React Native 0.73 allows us to set the transform origin directly to the left, removing the need for translateX adjustments and preventing flickering.

Related issue

#4341
#4245
#4299
#4340

Test plan

  1. Run the application on React Native 0.73 or later.
  2. Test TextInput components with floating labels in with mode "outlined"
  3. Verify that the label no longer flickers or jumps during state changes.

@callstack-bot
Copy link

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

@lukewalczak lukewalczak self-assigned this May 6, 2025
@lukewalczak lukewalczak added this to the 5.14.1 milestone May 6, 2025
@lukewalczak lukewalczak merged commit eb27d4a into callstack:main May 7, 2025
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