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

Safari canvas error: CanvasRenderingContext2D.save() has been called without a matching restore() too many times. Ignoring save(). #15005

Closed
loyoan1 opened this issue May 20, 2021 · 2 comments · Fixed by ecomfe/zrender#765
Labels
bug en This issue is in English priority: high
Milestone

Comments

@loyoan1
Copy link

loyoan1 commented May 20, 2021

Version

5.1.1

Reproduction link

https://echarts.apache.org/examples/en/editor.html?c=dynamic-data2

Steps to reproduce

  1. Open https://echarts.apache.org/examples/en/editor.html?c=dynamic-data2 in Safari (e.g. Version 14.1)
  2. Set interval-time to a smaller value like 100 or 10 to increase the update-interval
  3. Open console and wait

This also happens on iPad and iPhone.

What is expected?

It updates the plot without throwing an error after time.

What is actually happening?

After waiting for some minutes, the browser will throw the following error: CanvasRenderingContext2D.save() has been called without a matching restore() too many times. Ignoring save().

Screenshot 2021-05-20 at 15 30 27

@echarts-bot
Copy link

echarts-bot bot commented May 20, 2021

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that it contains a minimum reproducible demo and necessary images to illustrate. Otherwise, our committers will ask you to do so.

A minimum reproducible demo should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.

You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe our mailing list.

Have a nice day! 🍵

@echarts-bot echarts-bot bot added bug en This issue is in English pending We are not sure about whether this is a bug/new feature. waiting-for: community labels May 20, 2021
@pissang pissang added priority: high and removed pending We are not sure about whether this is a bug/new feature. waiting-for: community labels May 24, 2021
@echarts-bot
Copy link

echarts-bot bot commented May 24, 2021

This issue is labeled with priority: high, which means it's a frequently asked problem and we will fix it ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug en This issue is in English priority: high
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants