Merge pull request #3210 from dalemartyn/master

make resize listener object element unfocusable
pull/3213/head
Rich Harris 6 years ago committed by GitHub
commit 0be4e28130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -223,6 +223,7 @@ export function add_resize_listener(element, fn) {
const object = document.createElement('object');
object.setAttribute('style', 'display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; pointer-events: none; z-index: -1;');
object.type = 'text/html';
object.tabIndex = -1;
let win;

Loading…
Cancel
Save