aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/smartdraw/SmartDrawHandler.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-08-29 23:38:12 -0400
committerbobzel <zzzman@gmail.com>2024-08-29 23:38:12 -0400
commitd1fad65d5f3bfb2ed7d2b94af2c3c609a2090545 (patch)
treeb5b6d1354f74c9399971235e8c766abb13b1b3c6 /src/client/views/smartdraw/SmartDrawHandler.tsx
parent4c3a0e041486e6c04b7b35e898bf7d99ae5bb43b (diff)
made smartDraw autoFocus and be available from : menu
Diffstat (limited to 'src/client/views/smartdraw/SmartDrawHandler.tsx')
-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 59d362d26..879358742 100644
--- a/src/client/views/smartdraw/SmartDrawHandler.tsx
+++ b/src/client/views/smartdraw/SmartDrawHandler.tsx
@@ -325,6 +325,7 @@ export class SmartDrawHandler extends ObservableReactComponent<object> {
aria-label="Smart Draw Input"
className="smartdraw-input"
type="text"
+ autoFocus
style={{ color: 'black' }}
value={this._userInput}
onChange={action(e => this._canInteract && (this._userInput = e.target.value))}