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

Inject iframe for responsive charts only #3364

Merged
merged 1 commit into from
Sep 28, 2016

Conversation

simonbrunel
Copy link
Member

Responsiveness is currently based on the use of an iframe, however this method causes performance issues and could be troublesome when used with ad blockers. So make sure that the user is still able to create a chart without iframe when responsive is false.

Replaces #3333, #3351 and #3352

Copy link
Member

@etimberg etimberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Responsiveness is currently based on the use of an iframe, however this method causes performance issues and could be troublesome when used with ad blockers. So make sure that the user is still able to create a chart without iframe when responsive is false.
@gunins
Copy link

gunins commented Sep 28, 2016

When this change will be available in npm?

@etimberg
Copy link
Member

@gunins these won't be available for a while. We have other things we are working on for a v2.4 which won't be out for a few weeks at a minimum

@etimberg etimberg merged commit 806a383 into chartjs:master Sep 28, 2016
@simonbrunel simonbrunel deleted the optional-iframe branch September 29, 2016 07:26
@simonbrunel simonbrunel added this to the Version 2.4 milestone Oct 3, 2016
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.

4 participants