Merge pull request #1580 from thecodingmachine/fix-tab
Fix tab index on embedded iframes
This commit is contained in:
commit
2f632ae472
@ -162,6 +162,7 @@ export class EmbeddedWebsiteManager {
|
||||
|
||||
const iframe = document.createElement("iframe");
|
||||
iframe.src = absoluteUrl;
|
||||
iframe.tabIndex = -1;
|
||||
iframe.style.width = embeddedWebsiteEvent.position.width + "px";
|
||||
iframe.style.height = embeddedWebsiteEvent.position.height + "px";
|
||||
iframe.style.margin = "0";
|
||||
|
Loading…
Reference in New Issue
Block a user