You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.
I have a page that uses paper dropdowns and paper dialog.
The page is loaded as an iframe on another page.
Initially the iframe is hidden on the top page.
The text was updated successfully, but these errors were encountered:
jarrodek
changed the title
Component loaded on an iframe and hidden throws an error on Firefox
Component loaded on a hidden iframe throws an error on Firefox
May 5, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
I have a page that uses paper dropdowns and paper dialog.
The page is loaded as an iframe on another page.
Initially the
iframe
is hidden on the top page.With this scenario, FireFox throws an error:
on line 220, which is:
Apparently, under FF,
window.getComputedStyle(this)
returns null when the component is rendered in hidden iframe.Expected outcome
No error :)
Actual outcome
Error thrown in
connectedCallback
causes the element to stop rendering.Live Demo
Don't have any.
Steps to reproduce
Browsers Affected
The text was updated successfully, but these errors were encountered: