mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-25 17:53:41 +01:00
Scroll to compose form rather than reply indicator on focus
This commit is contained in:
parent
ed10ae2693
commit
9ef25877df
1 changed files with 2 additions and 2 deletions
|
@ -296,12 +296,12 @@ class ComposeForm extends ImmutablePureComponent {
|
|||
let disabledButton = isSubmitting || isUploading || isChangingUpload || (!text.trim().length && !anyMedia);
|
||||
|
||||
return (
|
||||
<div className='composer' ref={this.setRef}>
|
||||
<div className='composer'>
|
||||
<WarningContainer />
|
||||
|
||||
<ReplyIndicatorContainer />
|
||||
|
||||
<div className={`composer--spoiler ${spoiler ? 'composer--spoiler--visible' : ''}`}>
|
||||
<div className={`composer--spoiler ${spoiler ? 'composer--spoiler--visible' : ''}`} ref={this.setRef}>
|
||||
<AutosuggestInput
|
||||
placeholder={intl.formatMessage(messages.spoiler_placeholder)}
|
||||
value={spoilerText}
|
||||
|
|
Loading…
Reference in a new issue