Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard closes during a clock render while trying to use TextInput #578

Open
loperman-jack opened this issue Mar 23, 2024 · 0 comments
Open

Comments

@loperman-jack
Copy link

I am using react-native-keyboard-aware-scroll-view and everything is working well. I have a TextInput working with the keyboard and scroll of my view.

However, I have a clock component somewhere inside my KeyboardAwareScrollView and it refreshes every second. This causes a rendering which automatically closes the keyboard.

Is there a way to force the keyboard to stay visible while the clock is rendering?

I've tried keyboardShouldPersistTaps with handled and always but that doesn't seem to fix the issue. I've also tried blurOnSubmit to false in the TextInput.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant