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

Infinite canvas redrawing on container scrollbar appearing #4975

Closed
shevchenkobn opened this issue Nov 20, 2017 · 1 comment
Closed

Infinite canvas redrawing on container scrollbar appearing #4975

shevchenkobn opened this issue Nov 20, 2017 · 1 comment

Comments

@shevchenkobn
Copy link

shevchenkobn commented Nov 20, 2017

Expected Behavior

Rebuild chart only once when container is resized and scrollbar of canvas container appears

Current Behavior

In some cases it starts twinkling while window resizing. Example with instructions to reproduce.
Video

Steps to Reproduce (for bugs)

Example with instructions to reproduce.
Video

Context

While trying to make an adaptive website and testing in different browsers and on different platforms sometimes this bug makes webpage useless.

Environment

  • Chart.js version: 2.7.1 via npm
  • Browser name and version: Chrome 62.0.0.3202.94, Windows 10
@shevchenkobn shevchenkobn changed the title Infinite canvas redrawing on canvas container scrollbar appearing Infinite canvas redrawing on container scrollbar appearing Nov 20, 2017
@etimberg
Copy link
Member

Closing as a duplicate of #2127.

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