react-native-smooth-pincode-input icon indicating copy to clipboard operation
react-native-smooth-pincode-input copied to clipboard

onFulfill triggered before state update

Open dionIbis opened this issue 5 years ago • 2 comments

A quick fix for issue #27. Wait for the last character before calling onFulfill.

dionIbis avatar Dec 02 '19 19:12 dionIbis

Will someone merge this? I've faced same problem

OlegPanfyorov avatar Mar 18 '20 11:03 OlegPanfyorov

@dionIbis

Thanks for PR and you can also use better implementation with better maintainability: https://github.com/retyui/react-native-confirmation-code-field

react-native-confirmation-code-field animated example react-native-confirmation-code-field mask example react-native-confirmation-code-field underline example react-native-confirmation-code-field basic example

retyui avatar Apr 28 '20 14:04 retyui