Open hirendudhat03 opened 11 months ago
same bug here
i resolved the bug with: diff --git a/node_modules/@twotalltotems/react-native-otp-input/dist/index.js b/node_modules/@twotalltotems/react-native-otp-input/dist/index.js index 71580b8..6c591d6 100644 --- a/node_modules/@twotalltotems/react-native-otp-input/dist/index.js +++ b/node_modules/@twotalltotems/react-native-otp-input/dist/index.js @@ -155,7 +155,7 @@ export default class OTPInputView extends Component { } componentDidMount() { this.copyCodeFromClipBoardOnAndroid();
Here is the patch-package patch
diff --git a/node_modules/@twotalltotems/react-native-otp-input/dist/index.js b/node_modules/@twotalltotems/react-native-otp-input/dist/index.js
index 71580b8..cc4c29d 100644
--- a/node_modules/@twotalltotems/react-native-otp-input/dist/index.js
+++ b/node_modules/@twotalltotems/react-native-otp-input/dist/index.js
@@ -155,7 +155,8 @@ export default class OTPInputView extends Component {
}
componentDidMount() {
this.copyCodeFromClipBoardOnAndroid();
- this.bringUpKeyBoardIfNeeded();
+ setTimeout(() => this.bringUpKeyBoardIfNeeded(), 100);
+
this.keyboardDidHideListener = Keyboard.addListener('keyboardDidHide', this.handleKeyboardDidHide);
}
componentWillUnmount() {
not works
same bug here.
Describe the bug A clear and concise description of what the bug is.
when go to first time in screen after click on input keyboard not open but when app minimize and open again keyboard open automatic after that app working fine.
Smartphone (please complete the following information):
Device: [all android devices]
please help me to find out this issue.