HFlatlist and onViewableItemsChanged issues
plus- opened this issue · comments
Patrick Lussan commented
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",