Skip to content

Commit

Permalink
Update packages/component-base/src/virtualizer-iron-list-adapter.js
Browse files Browse the repository at this point in the history
Co-authored-by: Ugur Saglam <[email protected]>
  • Loading branch information
tomivirkki and ugur-vaadin authored Oct 4, 2023
1 parent 7aa6268 commit a1102c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class IronListAdapter {
delete this.__pendingScrollToIndex;

if (this._physicalCount === 3 /* iron-list-core.DEFAULT_PHYSICAL_COUNT */) {
// The condition here is a perfoemance improvement to avoid an unnecessary
// The condition here is a performance improvement to avoid an unnecessary
// re-render when the physical item pool is already covered.

// Finish rendering at the current scroll position before scrolling
Expand Down

0 comments on commit a1102c8

Please sign in to comment.