Skip to content

Commit

Permalink
[shared-ui] Prevent dblclick from expanding configurator (#4339)
Browse files Browse the repository at this point in the history
  • Loading branch information
paullewis authored Feb 3, 2025
1 parent e81078e commit 4904e2a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/quick-eggs-cheer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@breadboard-ai/shared-ui": patch
---

Prevent dblclick from expanding configurator
3 changes: 3 additions & 0 deletions packages/shared-ui/src/elements/overlay/node-configurator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,9 @@ export class NodeConfigurationOverlay extends LitElement {
@pointerdown=${(evt: PointerEvent) => {
evt.stopImmediatePropagation();
}}
@dblclick=${(evt: Event) => {
evt.stopImmediatePropagation();
}}
/>
<label for="log-level">Show in app</label>
<input
Expand Down

0 comments on commit 4904e2a

Please sign in to comment.