From 60be5a83cf01e762a2e7eb621406f63f58be4b61 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Mon, 8 Jun 2020 19:40:29 -0400 Subject: [PATCH] Fixed issue with composer highlighting first character MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Fixed: - issue with composer highlighting first character • Todo: - Invesigate further after upgrading composer to rich text --- .../gabsocial/features/compose/components/compose_form.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/gabsocial/features/compose/components/compose_form.js b/app/javascript/gabsocial/features/compose/components/compose_form.js index 518960f6..28062f50 100644 --- a/app/javascript/gabsocial/features/compose/components/compose_form.js +++ b/app/javascript/gabsocial/features/compose/components/compose_form.js @@ -204,8 +204,8 @@ class ComposeForm extends ImmutablePureComponent { selectionStart = selectionEnd; } - this.autosuggestTextarea.textbox.setSelectionRange(selectionStart, selectionEnd); - this.autosuggestTextarea.textbox.focus(); + // this.autosuggestTextarea.textbox.setSelectionRange(selectionStart, selectionEnd); + // this.autosuggestTextarea.textbox.focus(); } }