Skip to content
New issue

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

[(nzVisible)] not setting to false after calling this.modalService.closeAll() #6320

Closed
saurabh47 opened this issue Jan 7, 2021 · 0 comments · Fixed by #6649
Closed

[(nzVisible)] not setting to false after calling this.modalService.closeAll() #6320

saurabh47 opened this issue Jan 7, 2021 · 0 comments · Fixed by #6649

Comments

@saurabh47
Copy link

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-ivy-l8c6fo?file=src/app/app.component.ts

Steps to reproduce

1.Create Modal using tag

2. Bind variable to [(nzVisible)] & log the nzVisibleChange using (nzVisibleChange)="onNzVisibleChange()"

3. Close Modal using NzModalService closeAll() method.

4. Variable Bind to the [(nzVisible)] doesn't change.

5. In version 8.3.0, [(nzVisible)] will set variable to FALSE in case of closeAll() method call.

What is expected?

On NzModalService closeAll() method call [(nzVisible)] should set bind variable to FALSE..
Behavior of [(nzVisible)] should be same as the ant version 8.3.0

What is actually happening?

On NzModalService closeAll() method call [(nzVisible)] does not set bind variable to FALSE..

Environment Info
ng-zorro-antd 9.3.0
Browser Chrome

This issue persist in V 9.3.0 & V ^11.0.0

@saurabh47 saurabh47 changed the title nzVisible not setting to false after calling this.modalService.closeAll() [(nzVisible)] not setting to false after calling this.modalService.closeAll() Jan 7, 2021
hsuanxyz added a commit to hsuanxyz/ng-zorro-antd that referenced this issue Apr 26, 2021
@hsuanxyz hsuanxyz linked a pull request Apr 26, 2021 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants