Merge pull request #1580 from thecodingmachine/fix-tab
Fix tab index on embedded iframes
This commit is contained in:
commit
2f632ae472
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue