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

[Perf] component visible: false should not run theme or layout #1674

Open
xile611 opened this issue Dec 1, 2023 · 1 comment
Open

[Perf] component visible: false should not run theme or layout #1674

xile611 opened this issue Dec 1, 2023 · 1 comment
Assignees

Comments

@xile611
Copy link
Contributor

xile611 commented Dec 1, 2023

在搭建类场景中,spec会挂上全量的组件,很多组件是不展示的

  • 组件 visible:false 的时候,不需要再创建component
  • 组件相关的 effect 处理需要拆出来,如:
    • onSelectedDataChange
    • onZoomChange
@kkxxkk2019
Copy link
Collaborator

  1. https://github.com/orgs/VisActor/projects/15?pane=issue&itemId=44090735 基础布局这里,visible 为 false 的模块也参与了布局,这块需要优化
  2. tooltip visible:false 还是会监听事件

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

No branches or pull requests

2 participants