You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❗[attached video below] TextInput layout change issues: changing value on TextInput doesn't seem to update layout correctly and reposition the views around it. We mainly noticed it when using TextInput to vertically align the phone number prefix text (+1) with real input
Less important but still, fontWeight on iOS kinda snaps between Bold/Normal, completely ignoring values like 500 600. I noticed #54976 which seems to address this issue but I'm not 100% confident if that's the cause. Wanted to highlight it while I get the chance
Steps to reproduce
Init a fresh 0.83.1 app
Copy and paste the BrokenLayoutOnInputChanges component from the repro snack to the App.tsx and render it
Tap on the red area which toggles the TextInput value between +1 and +52 to see that it layouts it incorrectly
Optionally try running it on 0.82.1 and observe that it works fine
Description
I've noticed at least 2 regressions with 0.83
❗[attached video below] TextInput layout change issues: changing
valueonTextInputdoesn't seem to update layout correctly and reposition the views around it. We mainly noticed it when usingTextInputto vertically align the phone number prefix text (+1) with real inputLess important but still,
fontWeighton iOS kinda snaps between Bold/Normal, completely ignoring values like 500 600. I noticed #54976 which seems to address this issue but I'm not 100% confident if that's the cause. Wanted to highlight it while I get the chanceSteps to reproduce
BrokenLayoutOnInputChangescomponent from the repro snack to the App.tsx and render itTextInputvalue between+1and+52to see that it layouts it incorrectlyReact Native Version
0.83.1
Affected Platforms
Runtime - iOS
Output of
npx @react-native-community/cli infoStacktrace or Logs
MANDATORY Reproducer
https://snack.expo.dev/@bigcupcoffee/broken-input-layout-repro
Screenshots and Videos
0.82.1 (working fine):
82.mp4
0.83.1 (not working fine):
83.mp4