diff --git a/.playwright-mcp/after-body-click.png b/.playwright-mcp/after-body-click.png new file mode 100644 index 0000000..1125dbb Binary files /dev/null and b/.playwright-mcp/after-body-click.png differ diff --git a/.playwright-mcp/after-pointer-fix.png b/.playwright-mcp/after-pointer-fix.png new file mode 100644 index 0000000..d72057c Binary files /dev/null and b/.playwright-mcp/after-pointer-fix.png differ diff --git a/.playwright-mcp/applauncher-keyboard-bright.png b/.playwright-mcp/applauncher-keyboard-bright.png new file mode 100644 index 0000000..a6749b1 Binary files /dev/null and b/.playwright-mcp/applauncher-keyboard-bright.png differ diff --git a/.playwright-mcp/applauncher-keyboard-open.png b/.playwright-mcp/applauncher-keyboard-open.png new file mode 100644 index 0000000..377faad Binary files /dev/null and b/.playwright-mcp/applauncher-keyboard-open.png differ diff --git a/.playwright-mcp/applauncher-keyboard-toggle.png b/.playwright-mcp/applauncher-keyboard-toggle.png new file mode 100644 index 0000000..555b159 Binary files /dev/null and b/.playwright-mcp/applauncher-keyboard-toggle.png differ diff --git a/.playwright-mcp/applauncher-keyboard-zindex.png b/.playwright-mcp/applauncher-keyboard-zindex.png new file mode 100644 index 0000000..dc6283f Binary files /dev/null and b/.playwright-mcp/applauncher-keyboard-zindex.png differ diff --git a/.playwright-mcp/applauncher-menus.png b/.playwright-mcp/applauncher-menus.png new file mode 100644 index 0000000..1279b6f Binary files /dev/null and b/.playwright-mcp/applauncher-menus.png differ diff --git a/.playwright-mcp/applauncher-topbar-bright.png b/.playwright-mcp/applauncher-topbar-bright.png new file mode 100644 index 0000000..e22a486 Binary files /dev/null and b/.playwright-mcp/applauncher-topbar-bright.png differ diff --git a/.playwright-mcp/applauncher-topbar-dark.png b/.playwright-mcp/applauncher-topbar-dark.png new file mode 100644 index 0000000..ba4a342 Binary files /dev/null and b/.playwright-mcp/applauncher-topbar-dark.png differ diff --git a/.playwright-mcp/applauncher-with-keyboard-toggle.png b/.playwright-mcp/applauncher-with-keyboard-toggle.png new file mode 100644 index 0000000..6d9416c Binary files /dev/null and b/.playwright-mcp/applauncher-with-keyboard-toggle.png differ diff --git a/.playwright-mcp/battery-menu-open.png b/.playwright-mcp/battery-menu-open.png new file mode 100644 index 0000000..191a19f Binary files /dev/null and b/.playwright-mcp/battery-menu-open.png differ diff --git a/.playwright-mcp/battery-saver-toggled.png b/.playwright-mcp/battery-saver-toggled.png new file mode 100644 index 0000000..e7f8bf8 Binary files /dev/null and b/.playwright-mcp/battery-saver-toggled.png differ diff --git a/.playwright-mcp/menu-test.png b/.playwright-mcp/menu-test.png new file mode 100644 index 0000000..068d548 Binary files /dev/null and b/.playwright-mcp/menu-test.png differ diff --git a/.playwright-mcp/menus-after-fix.png b/.playwright-mcp/menus-after-fix.png new file mode 100644 index 0000000..f1a8d42 Binary files /dev/null and b/.playwright-mcp/menus-after-fix.png differ diff --git a/ts_web/elements/00group-applauncher/eco-applauncher-batterymenu/eco-applauncher-batterymenu.ts b/ts_web/elements/00group-applauncher/eco-applauncher-batterymenu/eco-applauncher-batterymenu.ts index 3aa74c3..b937730 100644 --- a/ts_web/elements/00group-applauncher/eco-applauncher-batterymenu/eco-applauncher-batterymenu.ts +++ b/ts_web/elements/00group-applauncher/eco-applauncher-batterymenu/eco-applauncher-batterymenu.ts @@ -30,6 +30,11 @@ export class EcoApplauncherBatterymenu extends DeesElement { :host { display: block; position: relative; + pointer-events: none; + } + + :host([open]) { + pointer-events: auto; } .menu-container { @@ -241,12 +246,18 @@ export class EcoApplauncherBatterymenu extends DeesElement { accessor timeRemaining: string | null = null; private boundHandleClickOutside = this.handleClickOutside.bind(this); + private inactivityTimeout: ReturnType | null = null; + private readonly INACTIVITY_TIMEOUT = 60000; // 1 minute public render(): TemplateResult { const fillClass = this.getFillClass(); return html` -