Closed petermikitsh closed 7 years ago
I wanted to clarify that this use case will reproduce the issue:
const list = new Immutable.List([]);
But this case will not:
const list = new Immutable.List([1]);
Very weird, I tried this on the example app and got the same problem using RN v0.41.1. Thanks for the bug report! I'll look into it.
@petermikitsh turns out getItemCount
was undefined
for empty lists, which somehow caused the UI to freeze up. It's fixed in v0.4.1
now.
Thanks for the quick turnaround, @cooperka!
Hello, encountered an interesting bug while using
ImmutableVirtualizedList
. Add the following stateless, functional component to your render tree, and will bring your react-native app's UI thread to its knees. With no console error, no nothing.Currently using these dependency versions:
immutable@3.8.1 react-native@0.43.0-rc.3 react-native-immutable-list-view@0.4.0
Using the accessibility inspector to better illustrate the broken UI. Normally the clicks would switch between tabs.