about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-06-06 12:14:11 +0200
committermultiple creatures <dev@multiple-creature.party>2019-11-19 16:26:35 -0600
commit51ae1816daea1ffb8d123152d7691e6e8d8c3195 (patch)
treebfc3bf5fda8c11cb56b8f0117614ccaf9a811db3
parent298221116757f394bd00855028472bd5241a6db0 (diff)
Fix CW field automatically getting the focus when it is always enabled
-rw-r--r--app/javascript/flavours/glitch/features/compose/components/compose_form.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/components/compose_form.js b/app/javascript/flavours/glitch/features/compose/components/compose_form.js
index cfe44c14c..8982899f9 100644
--- a/app/javascript/flavours/glitch/features/compose/components/compose_form.js
+++ b/app/javascript/flavours/glitch/features/compose/components/compose_form.js
@@ -338,6 +338,7 @@ class ComposeForm extends ImmutablePureComponent {
             searchTokens={[':']}
             id='glitch.composer.spoiler.input'
             className='spoiler-input__input'
+            autoFocus={false}
           />
         </div>