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

onViewableItemsChanged Not Working with KeyboardAwareFlatList #563

Open
AhmadAl-Ghalban opened this issue Jan 23, 2023 · 0 comments
Open

Comments

@AhmadAl-Ghalban
Copy link

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}
/>

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