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

Transfer穿梭框 #4811

Closed
koryoII opened this issue Feb 23, 2020 · 5 comments · Fixed by #4670
Closed

Transfer穿梭框 #4811

koryoII opened this issue Feb 23, 2020 · 5 comments · Fixed by #4670
Assignees

Comments

@koryoII
Copy link

koryoII commented Feb 23, 2020

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-start111111111111111111111

Steps to reproduce

ng.ant.design/components/transfer/zh使用 Table 组件作为自定义渲染列表。穿梭框倒数第二个案例,自定义表格,打开showsearch开关会持续吃内存,直到内存耗尽引起网页奔溃,原因是因为控件会不断的调用component.ts的convertItems方法。

What is expected?

期望结果是有变更才调用convertItems方法

What is actually happening?

实际结果是控件不断调用convertItems导致硬件内存耗尽。

Environment Info
ng-zorro-antd 8.5.2
Browser chrome 版本 79.0.3945.130(正式版本) (64 位)

在业务中使用是碰到,如果可以请尽快完善,如果已完善请邮件:[email protected],重现链接官方文档就可以看传来,shift esc调出chrome任务管理器,肉眼可以看到它不断在涨。

@zorro-bot
Copy link

zorro-bot bot commented Feb 23, 2020

Translation of this issue:

Transfer shuttle box

Reproduction link

Https://stackblitz.com/edit/ng-zorro-antd-start111111111111111111111

Steps to reproduce

ng.ant.design/components/transfer/zh using the Table component as a custom renderer list. Shuttle box penultimate cases, custom forms, open showsearch switch will continue to eat memory until the memory is exhausted Ben collapse caused the page, the reason is because the control will continue to call component.ts of convertItems method.

What is expected?

The results are expected to change only the method call convertItems

What is actually happening?

The net effect is control constantly calling convertItems cause hardware memory exhaustion.

Environment Info
Ng-zorro-antd 8.5.2
Browser chrome version 79.0.3945.130 (official version) (64)

In the business use is met, if you can please complete as soon as possible, if you have perfect please e-mail: [email protected], reproduce links to the official document can be seen coming, shift esc bring up the chrome task manager, the naked eye can see it is constantly rising.

@koryoII
Copy link
Author

koryoII commented Feb 25, 2020

可以处理吗?

@xuewlw
Copy link

xuewlw commented Mar 12, 2020

请问 这个问题解决了吗

@vthinkxie
Copy link
Member

cc @Ricbet

@Ricbet Ricbet linked a pull request Apr 3, 2020 that will close this issue
3 tasks
@hsuanxyz
Copy link
Member

close via #4670

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.

5 participants