File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -486,6 +486,7 @@ export class ArrayVirtualRepeatStrategy extends ArrayRepeatStrategy implements I
486486 let first_index_after_scroll_adjustment = realScrolltop === 0
487487 ? 0
488488 : Math$floor ( realScrolltop / itemHeight ) ;
489+
489490 // if first index after scroll adjustment doesn't fit with number of possible view
490491 // it means the scroller has been too far down to the bottom and nolonger suitable to start from this index
491492 // rollback until all views fit into new collection, or until has enough collection item to render
@@ -500,7 +501,7 @@ export class ArrayVirtualRepeatStrategy extends ArrayRepeatStrategy implements I
500501 // repeat._isLastIndex = bot_buffer_item_count_after_scroll_adjustment === 0;
501502 repeat . topBufferHeight = top_buffer_item_count_after_scroll_adjustment * itemHeight ;
502503 repeat . bottomBufferHeight = bot_buffer_item_count_after_scroll_adjustment * itemHeight ;
503- // repeat._handlingMutations = false;
504+ ( repeat as VirtualRepeat ) . _handlingMutations = false ;
504505 // ensure scroller scroll is handled
505506 ( repeat as VirtualRepeat ) . revertScrollCheckGuard ( ) ;
506507 repeat . updateBufferElements ( ) ;
You can’t perform that action at this time.
0 commit comments