From 76cff9ee6409343041257e1afb8ceb6d124e4046 Mon Sep 17 00:00:00 2001 From: vthinkxie Date: Thu, 9 Jul 2020 17:50:04 +0800 Subject: [PATCH] fix(module:select): fix select scroll render buffer close #5456 --- components/select/option-container.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/select/option-container.component.ts b/components/select/option-container.component.ts index 895bc090057..4fd2f7ce0f4 100644 --- a/components/select/option-container.component.ts +++ b/components/select/option-container.component.ts @@ -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"