React-native-keyboard-aware-scroll-view: [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)

Created on 16 Feb 2020  路  5Comments  路  Source: APSL/react-native-keyboard-aware-scroll-view

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

Most helpful comment

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

` behavior={Platform.OS == "ios" ? "padding" : "height"}

`

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

</KeyboardAvoidingView>

All 5 comments

Yeah same here, KWSV on the other hand works

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

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

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

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

` behavior={Platform.OS == "ios" ? "padding" : "height"}

`

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

</KeyboardAvoidingView>

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yasaricli picture yasaricli  路  3Comments

shimil2017 picture shimil2017  路  3Comments

dmr07 picture dmr07  路  5Comments

diegorodriguesvieira picture diegorodriguesvieira  路  4Comments

RBrNx picture RBrNx  路  4Comments