From 5c11a426ddb2b4a15405b879a3dcc44a875e6435 Mon Sep 17 00:00:00 2001 From: ParsaArvanehPA Date: Thu, 1 Feb 2024 22:52:18 +0330 Subject: [PATCH 1/2] fix(module:tabs): wrong cursor --- components/tabs/style/patch.less | 1 + 1 file changed, 1 insertion(+) diff --git a/components/tabs/style/patch.less b/components/tabs/style/patch.less index 4b2cdd47488..a3e00fdba0f 100644 --- a/components/tabs/style/patch.less +++ b/components/tabs/style/patch.less @@ -7,6 +7,7 @@ .ant-tabs-tab-btn { border: none; background-color: unset; + cursor: pointer; } .ant-tabs-tab a[nz-tab-link] { From fce7a0639668c1e53bd1424b6b1f561cf4dcd22a Mon Sep 17 00:00:00 2001 From: Parsa Arvaneh Date: Wed, 18 Sep 2024 16:56:09 +0330 Subject: [PATCH 2/2] fix(module:select): fast scroll causes the scroll to bottom to misbehave --- 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 6803b68ec4a..98630e33b3f 100644 --- a/components/select/option-container.component.ts +++ b/components/select/option-container.component.ts @@ -134,7 +134,7 @@ export class NzOptionContainerComponent implements OnChanges, AfterViewInit { onScrolledIndexChange(index: number): void { this.scrolledIndex = index; - if (index === this.listOfContainerItem.length - this.maxItemLength - 1) { + if (this.listOfContainerItem.length - index <= this.maxItemLength) { this.scrollToBottom.emit(); } }