question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

null is not an object (evaluating 'field.blur')

See original GitHub issue

Describe the bug Hi, i am using this module. But i am getting error null is not an object (evaluating ‘field.blur’) after filling the code inputs.

Code

<OTPInputView
                        autoFocusOnLoad
                        style={{ width: "100%", height: 100 }}
                        pinCount={4}
                        onCodeChanged={(code) => {
                            setCode(code);
                        }}
                        code={code}
                        codeInputFieldStyle={styles.underlineStyleBase}
                        codeInputHighlightStyle={styles.underlineStyleHighLighted}
                        onCodeFilled={(code) => {
                            Keyboard.dismiss()
                            // setCode(code);
                        }}
                    />

Screenshots ezgif com-video-to-gif

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:8

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

null is not an object (evaluating '_this2.emailRef.current.focus ...
You need to make sure "this.emailRef.current" exists before calling focus(), since sometimes it takes time to create the reference.
Read more >
How to Fix TypeError: Null is Not an Object in JavaScript
The JavaScript error TypeError: null is not an object occurs when a property is accessed or a method is called on a null...
Read more >
TypeError: null is not an object (evaluating ... - Expo forums
Hello, i have upgraded my project to ExpoSDK 46. On the web everything works well, but when trying to run the project on...
Read more >
TypeError: null is not an object (evaluating 'WebRTCModule ...
I'm building an React-native-app with openvidu, I've already went through the tutorial and even tested the demo, and made some changes to ...
Read more >
Focus on the Next TextInput when Next Keyboard Button is ...
... request to move from one text input to another when that field is submitted. ... input returnKeyType , onSubmitEditing , and blurOnSubmit...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found