You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The copy action does not work, and selecting text within the textarea is not possible. The only way I have been able to select the prompt is using the developer tools.
Two layered causes: the toolbar root has select-none (so dragging doesn't start a text selection) AND its root onPointerDown calls e.preventDefault() (which suppresses focus and selection on every click). Together they made the AI-prompt <pre> impossible to highlight or copy.
Fix:
New TOOLBAR_INTERACTIVE_SELECTOR constant lists elements that should bypass drag and accept native focus/selection. Used from both the JSX (drag handler bail-out) and the CSS (user-select: text re-enable) — single source of truth.
handleDrag now bails — without calling preventDefault() — when the pointerdown lands on button, a, input, textarea, select, pre, [contenteditable], [data-react-scan-selectable].
Activity
aidenybai commentedon May 2, 2026
Fixed in v0.5.5 via #437.
Two layered causes: the toolbar root has
select-none(so dragging doesn't start a text selection) AND its rootonPointerDowncallse.preventDefault()(which suppresses focus and selection on every click). Together they made the AI-prompt<pre>impossible to highlight or copy.Fix:
TOOLBAR_INTERACTIVE_SELECTORconstant lists elements that should bypass drag and accept native focus/selection. Used from both the JSX (drag handler bail-out) and the CSS (user-select: textre-enable) — single source of truth.handleDragnow bails — without callingpreventDefault()— when the pointerdown lands onbutton, a, input, textarea, select, pre, [contenteditable], [data-react-scan-selectable].