For multiple instances of charts, only one will be responsive.
Open
@benjamindavid is already working on this.
Since Jun 28, 2019.
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
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
- On your dashboard create
2 New Userswidgets - 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.