Closed novi-kolacic closed 4 years ago
@berickson1, any thoughts on this one?
I altered the TodoList sample to look basically like what you have (see below) & am unable to reproduce the issue. Can you provide an example that I can run locally?
@novi-kolacic -- is this still a concern? I'm going to close this since you never replied to @berickson1's request for clarification. But please feel to reply back, and I'm happy to reopen it!
Hi there,
I am using the latest version of VirtualListView - 2.0 and when I am trying to scroll up/down, the items in the list are disappearing.
Device: Samsung Galaxy Tab A 10.1" Android 8.1
This is my dependency list:
"dependencies": { "lodash": "4.17.11", "react": "16.6.3", "react-dom": "16.6.3", "react-native": "0.58.6", "react-native-windows": "0.57.1", "reactxp": "1.6.1", "reactxp-navigation": "1.6.1", "reactxp-virtuallistview": "2.0.0", "resub": "1.0.13", "simplerestclients": "0.2.7", "synctasks": "0.3.3", "prop-types": "15.7.2" }
There are two cases :
skipRenderIfItemUnchanged
is set tofalse
and whenanimateChanges
is set tofalse
.First time when I open the screen with the list, if I try to scroll, items will disappear. But if I click on some item, after that scrolling will be normal and items won't disappear. (invisible items will be back in normal state)
List:
Items from store:
Render item:
skipRenderIfItemUnchanged
is set totrue
and whenanimateChanges
is set totrue
.First time when I open the screen with the list, if I try to scroll, items will disappear. After that, if I try to click on some item, other items will stay invisible.
Note: Both problems won't happen if
onPress()
is set to Root view, but I don't want that as it is possible to useonItemSelected
provided byVirtualListView
.Any ides? Thanks!