#5976 - URL Comcode tag with rel lightbox does not show properly-sized lightbox
| Identifier | #5976 |
|---|---|
| Issue type | Trivial issue (does not break functionality) |
| Title | URL Comcode tag with rel lightbox does not show properly-sized lightbox |
| Status | Completed |
| Tags |
Roadmap: v11 (custom) |
| Handling member | PDStig |
| Version | 11 beta4 |
| Addon | core |
| Description | The URL Comcode tag with a lightbox ref will open an overlay to display the media, but it will not be the correct size (too small). |
| Steps to reproduce | |
| Funded? | No |
| Commits |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
Cross-Origin iframes never return true for loaded, thus never resize, because of browser restrictions on contentWindow.
This update makes hasIframeLoaded forcefully return true (even if it's not loaded) when we cannot use contentWindow because there is no other way (besides an event listener, which will get very complicated) to monitor for if an iframe has loaded.