From 375add0c83651771b08c5c450353f1b7f313bb04 Mon Sep 17 00:00:00 2001 From: Claire Date: Thu, 5 Jun 2025 10:49:26 +0200 Subject: [PATCH] Fix account note textarea being interactable before the relationship gets fetched (#34932) --- .../account/components/account_note.jsx | 30 ++++++++++++------- .../styles/mastodon/components.scss | 14 +++++++++ 2 files changed, 33 insertions(+), 11 deletions(-) diff --git a/app/javascript/mastodon/features/account/components/account_note.jsx b/app/javascript/mastodon/features/account/components/account_note.jsx index df7312eafc..855a1f4fc8 100644 --- a/app/javascript/mastodon/features/account/components/account_note.jsx +++ b/app/javascript/mastodon/features/account/components/account_note.jsx @@ -8,6 +8,8 @@ import ImmutablePureComponent from 'react-immutable-pure-component'; import Textarea from 'react-textarea-autosize'; +import { LoadingIndicator } from '@/mastodon/components/loading_indicator'; + const messages = defineMessages({ placeholder: { id: 'account_note.placeholder', defaultMessage: 'Click to add a note' }, }); @@ -153,17 +155,23 @@ class AccountNote extends ImmutablePureComponent { -