aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-04-30 13:00:33 -0400
committerbobzel <zzzman@gmail.com>2025-04-30 13:00:33 -0400
commit2296c314be710f983d595de37c9d8039d73568a6 (patch)
tree523f30fc07d9d2a7463ba446caf8a4225055f312
parent8ba53509f531e0e61a767311e5d070c104311dcc (diff)
fixed clicking to focus on smartDraw input box
-rw-r--r--src/client/views/smartdraw/SmartDrawHandler.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/smartdraw/SmartDrawHandler.tsx b/src/client/views/smartdraw/SmartDrawHandler.tsx
index 2283ef965..4f0cd3978 100644
--- a/src/client/views/smartdraw/SmartDrawHandler.tsx
+++ b/src/client/views/smartdraw/SmartDrawHandler.tsx
@@ -576,6 +576,7 @@ export class SmartDrawHandler extends ObservableReactComponent<object> {
type="text"
autoFocus
value={this._userInput}
+ onPointerDown={e => e.stopPropagation()}
onChange={action(e => this._canInteract && (this._userInput = e.target.value))}
placeholder="Enter item to draw"
onKeyDown={this.handleKeyPress}