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

For multiple instances of charts, only one will be responsive. #4457

Open
owldesign opened this issue Jun 27, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@owldesign
Copy link

commented Jun 27, 2019

Description

If you have multiple charts anywhere, only one of them resizes on window resize. I found this issue when adding 2 charts on same page within my plugin. Whichever chart is first in the dom would get the resizing, the second doesn't resize.

Steps to reproduce

  1. On your dashboard create 2 New Users widgets
  2. Start resizing your browser, you will notice that only the last chart is responsive, the first one doesn't resize and gets hidden behind container.

Additional info

  • Craft version: 3.1.32.1
  • PHP version: 7.3.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.