Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextInput mode=outline label animation was initially offset #4556

Open
cresjie opened this issue Nov 17, 2024 · 1 comment
Open

TextInput mode=outline label animation was initially offset #4556

cresjie opened this issue Nov 17, 2024 · 1 comment
Labels

Comments

@cresjie
Copy link

cresjie commented Nov 17, 2024

Current behaviour

After the page/screen loads, when the TextInput mode=outline has a value, the label is initially positioned at the right which results in overlapping with the outline, then does a sliding animation to the left.

Image

See video:
https://github.com/user-attachments/assets/202e3c1e-3b1a-4314-900a-83d2f6e47d0f

Expected behaviour

No sliding animation like in V4.

How to reproduce?

a simple: <TextInput mode="outlined" label="Last Name" value="John Doe" />

"No Loops", just plain render of multiple <TextInput />

I also created a Snack sample

Preview

What have you tried so far?

the v4 seems fine, but doesn't support MD3.

Your Environment

software version
react-native 0.74.5
react-native-paper 5.12.5
node 18.20.5
npm or yarn [email protected]
expo sdk 51.0.28
@cresjie cresjie added the bug label Nov 17, 2024
@theBGuy
Copy link

theBGuy commented Nov 24, 2024

+1 seen this as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants