We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://stackblitz.com/edit/angular-az8atm?file=src/app/app.component.ts
<ng-template #nzTreeTemplate let-node> <nz-dropdown-menu #menu="nzDropdownMenu"> <li nz-menu-item (click)="selectDropdown(node)">node值 <li nz-menu-item (click)="selectDropdown(node)">node值
树组件的支持右键弹出操作面板,nz-dropdown-menu被树组件的ng-template包裹起来,右键弹框正常
实际效果是会先后弹出两个框
包裹起来的目的是想在右键弹出的操作面板里面获取node节点的值
The text was updated successfully, but these errors were encountered:
[Https://stackblitz.com/edit/angular-az8atm?file=src/app/app.component.ts](https://stackblitz.com/edit/angular-az8atm?file=src/app/app. component.ts)
<Ng-template #nzTreeTemplate let-node> <Nz-dropdown-menu # menu = "nzDropdownMenu"> <Nz-menu-item (click) = "selectDropdown (node)" li> node value </ li> <Nz-menu-item (click) = "selectDropdown (node)" li> node value </ li> </ Nz-dropdown-menu> </ Ng-template>
Support the right tree assembly eject operation panel, nz-dropdown-menu tree assembly is wrapped ng-template, right-normal playing block
The actual effect will have two pop-up boxes
The wrapped object is to obtain the value of the right node in the node inside the pop-up control panel
Sorry, something went wrong.
ref #3971
39487f1
fix(module:dropdown): fix ghost menu with contextmenu
56b3d04
close NG-ZORRO#3971 close NG-ZORRO#4684
89cd42f
vthinkxie
No branches or pull requests
Reproduction link
https://stackblitz.com/edit/angular-az8atm?file=src/app/app.component.ts
Steps to reproduce
<ng-template #nzTreeTemplate let-node>
<nz-dropdown-menu #menu="nzDropdownMenu">
<li nz-menu-item (click)="selectDropdown(node)">node值
<li nz-menu-item (click)="selectDropdown(node)">node值
What is expected?
树组件的支持右键弹出操作面板,nz-dropdown-menu被树组件的ng-template包裹起来,右键弹框正常
What is actually happening?
实际效果是会先后弹出两个框
包裹起来的目的是想在右键弹出的操作面板里面获取node节点的值
The text was updated successfully, but these errors were encountered: