TextInput: "Malformed calls from JS: field sizes are different."
Current behaviour
When TextInput is focused "Malformed calls from JS: field sizes are different." exception is thrown.
Expected behaviour
Code sample
Just standard usage of TextInput /even with default props/.
Screenshots (if applicable)
N/A
What have you tried
Your Environment
| software | version |
|---|---|
| ios or android | iOS 13.6 |
| react-native | 0.63.2 |
| react-native-paper | 4.0.1 |
| node | 10.19.0 |
| npm or yarn | yarn 1.22.0 |
| expo sdk | n/a |
| react-native-vector-icons | 7.0.0 |
Couldn't find version numbers for the following packages in the issue:
react-native-vector-iconsnpmyarnexpo
Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.
Couldn't find version numbers for the following packages in the issue:
npmexpo
Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.
The versions mentioned in the issue for the following packages differ from the latest versions on npm:
yarn(found:1.22.0, latest:1.22.4)
Can you verify that the issue still exists after upgrading to the latest versions of these packages?
The issue was from another library, sorry!
Hey @netbull I'm facing the same issue as you and unable to find a solution. Would you mind telling more about how you fixed it and what was the library that was causing the issue?
Nevermind, I found out the my issue was caused by the external library react-native-input-scroll-view. It seems the issue there was fixed here. As a rule of thumb I would recommend checking all your external dependencies for compatibility with the latest RN version.
@DavidUnzue sorry for the no reply :/ I'm not into RN development since few months now and is quite hard to remember what was the cause..
However I'm glad that you figured out what the issue was!