APSL / react-native-keyboard-aware-scroll-view

A ScrollView component that handles keyboard appearance and automatically scrolls to focused TextInput.
MIT License
5.24k stars 643 forks source link

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

Open loperman-jack opened 3 months ago

loperman-jack commented 3 months ago

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.