Skip to content

Commit

Permalink
Merge pull request #3210 from dalemartyn/master
Browse files Browse the repository at this point in the history
make resize listener object element unfocusable
  • Loading branch information
Rich-Harris authored Jul 10, 2019
2 parents f2d2582 + 1cfaacb commit 0be4e28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/internal/dom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 0be4e28

Please sign in to comment.