[importer] Handle collection size changes in the foreachVisible binding
// height changes of the elements.
var renderedElements = [];
- if (! $parentFVOwnerElement.data('lastKnownHeights')) {
+ if (! $parentFVOwnerElement.data('lastKnownHeights') || $parentFVOwnerElement.data('lastKnownHeights').length !== allEntries.length) {
var lastKnownHeights = [];
$.each(allEntries, function () {
lastKnownHeights.push(entryMinHeight);
