Skip to content

Commit

Permalink
fix(module:select): fix select scroll render buffer (NG-ZORRO#5536)
Browse files Browse the repository at this point in the history
  • Loading branch information
vthinkxie authored Jul 9, 2020
1 parent 4a988cb commit ad9de9b
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 ad9de9b

Please sign in to comment.