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

module:drawer 以服务形式打开非OnPush模式组件值无法更新 #8978

Open
amoycode opened this issue Jan 18, 2025 · 1 comment
Open
Assignees

Comments

@amoycode
Copy link
Contributor

amoycode commented Jan 18, 2025

Reproduction link

https://stackblitz.com/edit/7ajuqa7i?file=src%2Fapp%2Fapp.component.ts

Steps to reproduce

点击onpush模式组件,输入框的值会在1s后更新,点击非onpush模式组件,输入框值无法在1s后更新

What is expected?

不管是否OnPush模式组件,都应该及时刷新组件值

What is actually happening?

非OnPush组件无法正常呈现

Environment Info
ng-zorro-antd 19.0.2
Browser chrome,edge

zorro v17.x正常, 从v18.x开始出现异常。同样的场景使用NzModal不存在这样的问题。
可能问题点

Copy link

zorro-bot bot commented Jan 18, 2025

Translation of this issue:

MODULE: DRAWER cannot be updated in a service form to open the non -OnPush mode component value

REPRODUCTION LINK

[https://stackphblitz.com/edit/7ajuqa7i?file=src%2FAPPPPONENN T.TS] (https://stackBlitz.com/7jjuqa7i?file=src%2FAPP.COM ponent.ts)

STEPS To Reproduce

Click onPush mode component, the value of the input box will be updated after 1S, click the non -OnPush mode component, the input box value cannot be updated after 1S

What is exfected?

No matter whether the OnPush mode component, you should refresh the component value in time

What is actually happy?

Non -Onppush components cannot be presented normally

| ENVIRONMENT | Info |
| --- | --- | |
| NG-Zorro-ATD | 19.0.2 |
| Browser | chrome, edge |


Zorro v17.x is normal, and abnormalities appear from v18.x

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

2 participants