From 84ba6a0cc36edb9b204bd01f005f4c4a8dd8e926 Mon Sep 17 00:00:00 2001 From: crockwave Date: Tue, 26 May 2020 19:19:52 -0500 Subject: [PATCH 1/2] Added auto-focus of content warning input box when CW button clicked Removed spoilerActive prop and used existing spoiler prop Fixed linter issue and removed commented code --- app/gabsocial/components/autosuggest_input.js | Bin 6707 -> 6801 bytes .../compose/components/compose_form.js | Bin 10741 -> 10889 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/app/gabsocial/components/autosuggest_input.js b/app/gabsocial/components/autosuggest_input.js index 3136325a037c1b38fb530218c3ee4a24f889b49b..f7808202faf3b0606bec52cb622ab2b671fe13f1 100644 GIT binary patch delta 90 zcmdmNGSPHHzo4&6W=d#5N@7W>hNeO_mjV!ErYUHYWMmfW6%^$c6ze6HmgKwTCzlq( d<5L|iwp8Ib5e^o*Gb7TX(<3fa(-TMi9&HkerZlhFhtU^v?Sjx eKe@D6!BzpLK1=2X>*O1%f&%DjHk&9NWCs9xMJ3t* delta 26 icmeAS{TjUC0Q=^H><5H4cS%VzZIWHiy7`*YW_AFiP76N( From 9e64cd82b95f3327f3173d18bec1939cdcf44aaa Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 28 May 2020 14:44:36 -0500 Subject: [PATCH 2/2] Focus spoiler input from ComposeForm, refocus textarea on close --- app/gabsocial/components/autosuggest_input.js | Bin 6801 -> 6707 bytes .../compose/components/compose_form.js | Bin 10889 -> 11408 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/app/gabsocial/components/autosuggest_input.js b/app/gabsocial/components/autosuggest_input.js index f7808202faf3b0606bec52cb622ab2b671fe13f1..3136325a037c1b38fb530218c3ee4a24f889b49b 100644 GIT binary patch delta 12 TcmbPey4hqyzu@M#f=f66Bz6T` delta 90 zcmdmNGSPHHzo4&6W=d#5N@7W>hNeO_mjV!ErYUHYWMmfW6%^$c6ze6HmgKwTCzlq( dS5Qai16uc;CX(^0el0eA=DD@T`EhG?*;H_;VGegx!vaFdr(jQbKva}oTR|iJ zYO?Jl4_@i8sig1LCYCE%$19UCF_l$e=tUu?sGxhnJEd$MAd4Bg_#@hMYbw)XFKpY qew>)b`h*2}$Ih=gWm`Jxp$UI&T;rC|A?a(U+xYCgTj}>f+WY}cC)+^) delta 108 zcmbOb*%`Vao^^9AYa-L;yX;v)laI)RvlkcSXXd09ZI+akWztdrg5>