From 5ee741e5511dca951c8bb3ff804a859a3ff4c916 Mon Sep 17 00:00:00 2001 From: Doug Hoffman Date: Wed, 12 Apr 2023 12:12:06 -0400 Subject: [PATCH] Change action handler to position: fixed --- src/action-handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/action-handler.ts b/src/action-handler.ts index d60264b..9303937 100644 --- a/src/action-handler.ts +++ b/src/action-handler.ts @@ -81,7 +81,7 @@ class ActionHandler extends HTMLElement implements IActionHandler { public connectedCallback(): void { Object.assign(this.style, { - position: "absolute", + position: "fixed", width: isTouch ? "100px" : "50px", height: isTouch ? "100px" : "50px", transform: "translate(-50%, -50%)",