ttdung11t2 / react-native-confirmation-code-input

A react-native component to input confirmation code for both Android and IOS
MIT License
411 stars 349 forks source link

While deleting and entering new code #18

Open thuandv7 opened 6 years ago

thuandv7 commented 6 years ago

Can not enter new code while entering the wrong code. Error in iOS I config:

<CodeInput
            activeColor='rgba(49, 180, 4, 1)'
            inactiveColor='rgba(49, 180, 4, 1.3)'
            space={8}
            size={30}
            keyboardType='numeric'
            codeLength={4}
            codeInputStyle={{ fontWeight: 'bold', fontSize: 30 }}
            inputPosition='left'
            autoFocus={false}
            ignoreCase={false}
            onFulfill={code => this.setState({code})}
            className='border-b'
          />
boxuanzhang commented 6 years ago

https://github.com/facebook/react-native/issues/18374

havinhthai commented 6 years ago

+1