π¬ A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots π
TypeScript browser-extensionchrome-extensiondocumentationfirefox-extensionguide-generatorlocal-firstmanifest-v3privacy-firstproductivityreactscreenshotstep-by-step-guidetutorialtypescriptworkflowwxt
fix: spotlight SVG blocking clicks on target element
Luis Ortiza8aaa9024c97
diff --git a/src/core/guideme/overlay.ts b/src/core/guideme/overlay.tsindex a3ec44e..aa3fcb0 100644--- a/src/core/guideme/overlay.ts+++ b/src/core/guideme/overlay.ts@@ -25,7 +25,12 @@ const STYLES = `.spotlight {position: fixed;inset: 0;+ pointer-events: none;+ }++ .spotlight path {pointer-events: auto;+ cursor: default;}.highlight {@@ -272,7 +277,7 @@ export class GuideMeOverlay {path.setAttribute('d', pathD);svg.appendChild(path);- svg.addEventListener('click', (e) => e.stopPropagation());+ path.addEventListener('click', (e) => e.stopPropagation());this.shadow.appendChild(svg);this.spotlight = svg;}