Skip to content

Commit

Permalink
fix(module:select): fix select scroll render buffer (#5536)
Browse files Browse the repository at this point in the history
close #5456
  • Loading branch information
vthinkxie authored Jul 9, 2020
1 parent 56f052c commit 089421c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/select/option-container.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { NzSelectItemInterface, NzSelectModeType } from './select.types';
[class.full-width]="!matchWidth"
[itemSize]="itemSize"
[maxBufferPx]="itemSize * maxItemLength"
[minBufferPx]="itemSize"
[minBufferPx]="itemSize * maxItemLength"
(scrolledIndexChange)="onScrolledIndexChange($event)"
[style.height.px]="listOfContainerItem.length * itemSize"
[style.max-height.px]="itemSize * maxItemLength"
Expand Down

0 comments on commit 089421c

Please sign in to comment.