Fix tab index on embbed iframes

This commit is contained in:
Alexis Faizeau 2021-11-24 11:05:18 +01:00
parent 29c0b57f0c
commit 4ca763c028

View File

@ -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";