Skip to content

Conversation

@simonbrunel
Copy link
Member

Ensure that the hidden iframe is stretched vertically in order to detect height changes. Remove the classlist check/call since it was incorrectly spelled (should be classList), but also useless since the iframe has just been generated. Also remove the callback check: addResizeListener should never be called w/o a valid callback.

Unit tests are coming in another PR!

@simonbrunel simonbrunel force-pushed the fix/3105-responsive-height branch from 0d8feb1 to 256fc99 Compare September 18, 2016 10:29
@simonbrunel
Copy link
Member Author

simonbrunel commented Sep 18, 2016

Added visibility: hidden.

Edit: removed visibility: hidden since it doesn't work on Firefox

Ensure that the hidden iframe is stretched vertically in order to detect height changes. Remove the classlist check/call since it was incorrectly spelled (should be classList), but also useless since the iframe has just been generated. Also remove the callback check: addResizeListener should never be called w/o a valid callback.
@simonbrunel simonbrunel force-pushed the fix/3105-responsive-height branch from 256fc99 to 0e61ca8 Compare September 18, 2016 13:44
@simonbrunel simonbrunel added this to the Version 2.4 milestone Sep 22, 2016
@simonbrunel simonbrunel merged commit 84da2e0 into chartjs:master Sep 23, 2016
@simonbrunel simonbrunel deleted the fix/3105-responsive-height branch September 24, 2016 19:54
exwm pushed a commit to exwm/Chart.js that referenced this pull request Apr 30, 2021
Ensure that the hidden iframe is stretched vertically in order to detect height changes. Remove the classlist check/call since it was incorrectly spelled (should be classList), but also useless since the iframe has just been generated. Also remove the callback check: addResizeListener should never be called w/o a valid callback.
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