The click-outside handler used event.target at the document level, which in shadow DOM is retargeted to the host element. Clicking any input inside the inline config panel (foreignObject) would immediately dismiss it. Use composedPath() to correctly detect clicks inside the shadow DOM boundary. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| db | ||
| lib | ||
| landing.ts | ||
| local-first-client.ts | ||
| mod.ts | ||
| schemas.ts | ||