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

[SPIKE] Configure iframe-resizer for reduced CPU usage #3028

Closed
wants to merge 1 commit into from

Conversation

colinrotherham
Copy link
Contributor

@colinrotherham colinrotherham commented Aug 9, 2023

This PR configures iframe-resizer for reduced CPU usage by configuring:

  1. Initial resize only, no event listeners
  2. Calculate height from child contents changes only
  3. Calculate height from data-iframe-height only

This is to investigate:

For more information, see:

@colinrotherham colinrotherham added the website Issues relating to the Design System website itself label Aug 9, 2023
@netlify
Copy link

netlify bot commented Aug 9, 2023

You can preview this change here:

Name Link
🔨 Latest commit 7ed4aef
🔍 Latest deploy log https://app.netlify.com/sites/govuk-design-system-preview/deploys/64d369224c48a90008e54409
😎 Deploy Preview https://deploy-preview-3028--govuk-design-system-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
website Issues relating to the Design System website itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant