You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create an nz-table with columns that use the nzShowSort directive for sorting.
Add an nz-popconfirm directive to a column for an action like "Delete."
Attempt to sort the table by clicking on the column headers.
Try clicking the "Delete" link to trigger the nz-popconfirm popup.
What is expected?
The nz-popconfirm popup should open when clicking on the "Delete" link.
Sorting the table should not interfere with the popup.
What is actually happening?
The nz-popconfirm popup does not open when clicking on the "Delete" link.
Sorting the table with the nzShowSort directive prevents the popup from appearing.
In some cases, the cursor does not change when hovering over the "Delete" link, indicating that the link is not interactive due to event conflicts.
Environment
Info
ng-zorro-antd
18.1.1
Browser
safari
The issue seems to be caused by conflicting click event handlers between the sorting functionality (nzShowSort) and the nz-popconfirm directive.
It appears that sorting is intercepting click events, preventing the nz-popconfirm from displaying.
The text was updated successfully, but these errors were encountered:
Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-ivy-o8fpta?file=src%2Findex.html
Steps to reproduce
Create an nz-table with columns that use the nzShowSort directive for sorting.
Add an nz-popconfirm directive to a column for an action like "Delete."
Attempt to sort the table by clicking on the column headers.
Try clicking the "Delete" link to trigger the nz-popconfirm popup.
What is expected?
The nz-popconfirm popup should open when clicking on the "Delete" link.
Sorting the table should not interfere with the popup.
What is actually happening?
The nz-popconfirm popup does not open when clicking on the "Delete" link.
Sorting the table with the nzShowSort directive prevents the popup from appearing.
In some cases, the cursor does not change when hovering over the "Delete" link, indicating that the link is not interactive due to event conflicts.
The issue seems to be caused by conflicting click event handlers between the sorting functionality (nzShowSort) and the nz-popconfirm directive.
It appears that sorting is intercepting click events, preventing the nz-popconfirm from displaying.
The text was updated successfully, but these errors were encountered: