diff --git a/src/views/app/components/LibraryManager.tsx b/src/views/app/components/LibraryManager.tsx index 0bf6bc33..f7a08b03 100644 --- a/src/views/app/components/LibraryManager.tsx +++ b/src/views/app/components/LibraryManager.tsx @@ -137,6 +137,10 @@ class LibraryManager extends React.Component { + // On updating a list, ReactList can call itemRenderer with large indices. + if (index >= filteredLibraries.length) { + return null; + } return (); }; const itemSizeEstimator = (index, cache) => {