Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

simonbrunel
Copy link
Member

@simonbrunel simonbrunel commented Oct 29, 2016

When the iframe is attached to the DOM, its content is reloaded (invaliding the resize listener) so make sure to install the handler after the iframe is loaded. Optimize resize events by throttling resize process until the next animation frame. Rewrite the unit test "waitForResize" method, the previous one (timeout) was too weak and most tests was failing on FF.

Fixes #3521

@simonbrunel simonbrunel added this to the Version 2.4 milestone Oct 29, 2016
When the iframe is attached to the DOM, its content is reloaded (invaliding the resize listener) so make sure to install the handler after the iframe is loaded. Optimize resize events by throttling resize process until the next animation frame. Rewrite the unit test "waitForResize" method, the previous one (timeout) was too weak and most tests was failing on FF.
@simonbrunel simonbrunel merged commit 5012dcb into chartjs:master Oct 31, 2016
@simonbrunel simonbrunel deleted the fix/3521 branch October 31, 2016 07:47
exwm pushed a commit to exwm/Chart.js that referenced this pull request Apr 30, 2021
When the iframe is attached to the DOM, its content is reloaded (invaliding the resize listener) so make sure to install the handler after the iframe is loaded. Optimize resize events by throttling resize process until the next animation frame. Rewrite the unit test "waitForResize" method, the previous one (timeout) was too weak and most tests was failing on FF.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants