1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-09-28 17:19:01 +02:00

focus is a clusterfuck

This commit is contained in:
Pomax
2020-08-11 17:16:39 -07:00
parent 09fa4991a7
commit 9b2d0241e6
3 changed files with 21 additions and 67 deletions

View File

@@ -93,10 +93,7 @@ class CustomElement extends HTMLElement {
// Set up an open shadow DOM, because the web is open,
// and hiding your internals is ridiculous.
const shadowProps = {
mode: `open`,
delegatesFocus: !!this._options.focus,
};
const shadowProps = { mode: `open` };
this._shadow = this.attachShadow(shadowProps);
this._style = document.createElement(`style`);