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

HFlatlist and onViewableItemsChanged issues #117

Open
plus- opened this issue Sep 8, 2021 · 0 comments
Open

HFlatlist and onViewableItemsChanged issues #117

plus- opened this issue Sep 8, 2021 · 0 comments

Comments

@plus-
Copy link

plus- commented Sep 8, 2021

Describe the bug

When using onViewableItemsChanged on the HFlatlist the viewableItems returned are incorrect.

It seems the returned items are not taking count of the height of the rendered header.

ie: if the returned items would be correct if the header height was 0

Expected behavior

the returned items are the ones actually visible on screen.

Package versions

"react": "17.0.2",
"react-native": "0.64.2",
"react-native-head-tab-view": "4.0.0-rc.13",
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