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

Drawer抽屉nzCloseOnNavigation前进/后退nzVisible值未变更 #8719

Open
232650413 opened this issue Aug 29, 2024 · 3 comments
Open

Drawer抽屉nzCloseOnNavigation前进/后退nzVisible值未变更 #8719

232650413 opened this issue Aug 29, 2024 · 3 comments
Assignees

Comments

@232650413
Copy link

232650413 commented Aug 29, 2024

Reproduction link

https://angular-undw7j.stackblitz.io

Steps to reproduce

打开抽屉,浏览器后退/前进,抽屉关闭了nzVisible值却未变更。二次打开抽屉无响应。

What is expected?

打开抽屉,浏览器后退/前进,抽屉关闭了nzVisible值变更。

What is actually happening?

打开抽屉,浏览器后退/前进,抽屉关闭了nzVisible值却未变更。二次打开抽屉无响应。

Environment Info
ng-zorro-antd 18.1.1
Browser chrome

modal同样有,是正常的。笔记本手触还是比较影响的。

Copy link

zorro-bot bot commented Aug 29, 2024

Translation of this issue:

DRAWER drawer nzcloseonnavigation forward/backward NZVISible value has not changed

REPRODUCTION LINK

[https://angular- notw7j.stackblitz.io]

STEPS To Reproduce

Open the drawer, the browser goes back/forward, the drawer closes the NZVisible value but has not changed. There is no response of the drawer for the second time.

What is exfected?

Open the drawer, retreat/move forward, and the drawer closes the NZVisible value change.

What is actually happy?

Open the drawer, the browser goes back/forward, the drawer closes the NZVisible value but has not changed. There is no response of the drawer for the second time.

| ENVIRONMENT | Info |
| --- | --- | |
| NG-Zorro-ATD | 18.1.1 |
| Browser | Chrome |


MODAL also has it, it is normal.

@ParsaArvanehPA
Copy link
Contributor

Hi @232650413 ,
Thank you for reporting this issue.
The link you have provided only has the application view, please share the Editor URL so we can see your code.

@232650413
Copy link
Author

Hi @232650413 , Thank you for reporting this issue. The link you have provided only has the application view, please share the Editor URL so we can see your code.
https://stackblitz.com/edit/angular-undw7j?file=src%2Fapp%2Fapp.component.ts 这个是编辑模式

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants