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

onViewableItemsChanged Not Working with KeyboardAwareFlatList #563

Open AhmadAl-Ghalban opened 1 year ago

AhmadAl-Ghalban commented 1 year ago

when use this KeyboardAwareFlatList And scroll The onViewableItemsChanged Not working <KeyboardAwareFlatList enableOnAndroid={true} data={dataLive} keyExtractor={item => item.id} renderItem={renderLiveView} // ref={liveref} onScroll={handleScrollView} windowSize={2} initialNumToRender={0} ref={ref} // initialScrollIndex={index} maxToRenderPerBatch={2} removeClippedSubviews viewabilityConfig={{ itemVisiblePercentThreshold: 0, waitForInteraction: false, minimumViewTime: 250, }} onScrollEndDrag={() => Keyboard.dismiss()} pagingEnabled decelerationRate={'normal'} onViewableItemsChanged refreshControl={

        }
        refreshing={onRefreshing}
      />