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

TextInput: "Malformed calls from JS: field sizes are different."

Open netbull opened this issue 6 years ago • 6 comments

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

netbull avatar Aug 10 '20 09:08 netbull

Couldn't find version numbers for the following packages in the issue:

  • react-native-vector-icons
  • npm
  • yarn
  • expo

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

github-actions[bot] avatar Aug 10 '20 09:08 github-actions[bot]

Couldn't find version numbers for the following packages in the issue:

  • npm
  • expo

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?

github-actions[bot] avatar Aug 10 '20 09:08 github-actions[bot]

The issue was from another library, sorry!

netbull avatar Aug 10 '20 09:08 netbull

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?

DavidUnzue avatar Jan 13 '21 15:01 DavidUnzue

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 avatar Jan 14 '21 09:01 DavidUnzue

@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!

netbull avatar Jan 14 '21 09:01 netbull