Browse Source

Scroll to compose form rather than reply indicator on focus (#11182)

tags/v2.9.3
ThibG 3 months ago
parent
commit
39741fa2cd

+ 2
- 2
app/javascript/mastodon/features/compose/components/compose_form.js View File

@@ -188,12 +188,12 @@ class ComposeForm extends ImmutablePureComponent {
}

return (
<div className='compose-form' ref={this.setRef}>
<div className='compose-form'>
<WarningContainer />

<ReplyIndicatorContainer />

<div className={`spoiler-input ${this.props.spoiler ? 'spoiler-input--visible' : ''}`}>
<div className={`spoiler-input ${this.props.spoiler ? 'spoiler-input--visible' : ''}`} ref={this.setRef}>
<AutosuggestInput
placeholder={intl.formatMessage(messages.spoiler_placeholder)}
value={this.props.spoilerText}

Loading…
Cancel
Save