Skip to content

Commit

Permalink
fix(module: select): issue with nzScrollToBottom while display scaling (
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinkya2020 committed Mar 11, 2024
1 parent 9cc44f8 commit bb0468e
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 @@ -132,7 +132,7 @@ export class NzOptionContainerComponent implements OnChanges, AfterViewInit {

onScrolledIndexChange(index: number): void {
this.scrolledIndex = index;
if (index === this.listOfContainerItem.length - this.maxItemLength) {
if (index === this.listOfContainerItem.length - this.maxItemLength - 1) {
this.scrollToBottom.emit();
}
}
Expand Down

0 comments on commit bb0468e

Please sign in to comment.