I tried to click an item to enter the detail view from my listview. In the detail view, I tried to make a call with the Linking component. Unfortunately, after finishing the call and coming back to the listview through clicking "back" button in the detail view, I found the listview was empty and not reloaded items as expected, unless I touched the screen at that moment.
I tried to recall "scrollTo", but it didn't work.
I want to know if there is anyone encountered the similar issue, and do me a favor.
BTW, this issue is only found in iOS. I can reproduced it in RN 0.29.0, 0.33.0, and 0.34.0.
Thanks!
I'm running into the exact same issue.
@aiDove this suggestion worked for me, although I have idea why, to be honest.
@chadwatson Turning off removeClippedSubviews solves the issue for me. Thanks!
removeClippedSubviews has performance implications though, so while it works as a temporary workaround, I wouldn't exactly consider that a solution in production 馃槙
Same issue for me
Can you provide a repro of this problem with rnplay.org?
Has anyone tried moving to FlatList and seeing if this is resolved without disabling removeClippedSubviews?
Closing as ListView is deprecated in 0.43. Use FlatList.
Most helpful comment
@chadwatson Turning off removeClippedSubviews solves the issue for me. Thanks!