NG-ZORRO/ng-zorro-antd

nz-transfer move operations disabled state

Closed this issue · 2 comments

Reproduction link

https://stackblitz.com/edit/angular-pmeuuz

Steps to reproduce

Context: The nz-transfer must have some disabled checked items

  1. Check another item => the move right button will be highlighted.
  2. Uncheck the same item => the move right button is still highlighted

What is expected?

The move right button should be disabled

What is actually happening?

The move right button is still enabled

Environment Info
ng-zorro-antd 18.1.1
Browser Chrome
Screenshare.-.2024-10-02.11_27_41.AM.mp4

The issue seems to be related to this function:

handleSelect(direction: TransferDirection, checked: boolean, item?: TransferItem): void {

Hi @krisztofer-kunc
Thank you for reporting this issue 👍
A fix has been made #8824

Many thanks!