react-native-keyboard-aware-scroll-view icon indicating copy to clipboard operation
react-native-keyboard-aware-scroll-view copied to clipboard

[Android, FlatList] When focusing a TextInput field in a way that would trigger a scroll aware scroll, there's a jitter (closing and reopening of the keyboard)

Open nadav2051 opened this issue 6 years ago • 5 comments

React Native 0.60.4 keyboard-aware-scroll-view version 0.9.1

I focus on a TextInput, as soon as I open it, the keyboard opens, the FlatList scrolls the item, and then the keyboard closes and reopens

nadav2051 avatar Feb 16 '20 12:02 nadav2051

Yeah same here, KWSV on the other hand works

creambyemute avatar Mar 20 '20 10:03 creambyemute

I'm experiencing the same issue on 0.9.1 and React Native 0.61.5

donth77 avatar Apr 13 '20 11:04 donth77

Have you tried to set blurOnSubmit={false} on your inputs?

AlexandrDobrovolskiy avatar Jul 13 '20 15:07 AlexandrDobrovolskiy

Is there any solution for this issue? I found <FlatList .... removeClippedSubviews={false} ... /> But it's not working as expected.

NitishAgrawal avatar Oct 06 '20 13:10 NitishAgrawal

The solution that work for me it's use KeyboardAvoidingView, Platform and FlastList from 'react-native'.

<KeyboardAvoidingView behavior={Platform.OS == "ios" ? "padding" : "height"} >

<FlatList data={data} keyExtractor={(item) => item.id} renderItem={({item}) => (...)} />

</KeyboardAvoidingView>

Sevendaye avatar Dec 24 '20 13:12 Sevendaye