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

chart.render.then 少渲染了一帧 #4771

Closed
pearmini opened this issue Mar 15, 2023 · 0 comments
Closed

chart.render.then 少渲染了一帧 #4771

pearmini opened this issue Mar 15, 2023 · 0 comments
Assignees
Labels
Milestone

Comments

@pearmini
Copy link
Member

chart.render

chart.render.then 少渲染了一帧。

问题复现

  • 第一帧渲染出来是空白
  • 第二帧是空白的

image

image

解决办法

  • requestAnimation
  • canvas.on('afterrender', () => {});
@pearmini pearmini added the V5 label Mar 15, 2023
@pearmini pearmini self-assigned this Mar 15, 2023
@pearmini pearmini added the Bug label Mar 28, 2023
@pearmini pearmini added this to the 5.0.2 milestone Mar 29, 2023
hustcc pushed a commit that referenced this issue May 16, 2023
… (#4855)

* fix(runtime): wait for the next tick to finish rendering (close: #4771)

* fix: cr
hustcc pushed a commit that referenced this issue May 16, 2023
… (#4855)

* fix(runtime): wait for the next tick to finish rendering (close: #4771)

* fix: cr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

No branches or pull requests

1 participant