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

Predict iframe height #1280

Open
pmelab opened this issue Jan 27, 2023 · 0 comments
Open

Predict iframe height #1280

pmelab opened this issue Jan 27, 2023 · 0 comments

Comments

@pmelab
Copy link
Contributor

pmelab commented Jan 27, 2023

When a Drupal page is embedded as an iframe, we don't have an initial height. Therefore the page will jump after the iframe is loaded and can communicate its own height. This could be mitigated by approximating the height beforehand.

Ideas:

  • number of webform elements
  • calculate height in playwright browser during build
  • ...
@pmelab pmelab added this to the React Drupal Islands milestone Jan 27, 2023
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

No branches or pull requests

1 participant