react-native-paper icon indicating copy to clipboard operation
react-native-paper copied to clipboard

TextInput mode=outline label animation was initially offset

Open cresjie opened this issue 1 year ago • 3 comments

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 avatar Nov 17 '24 16:11 cresjie

+1 seen this as well

theBGuy avatar Nov 24 '24 20:11 theBGuy

+1

Sibaxi avatar Jun 11 '25 12:06 Sibaxi

+1

Sakshiwanode avatar Aug 19 '25 10:08 Sakshiwanode