[Glitch] Don't focus spoiler input when disabled spoiler

Inspired by 6866739387
th-downstream
Thibaut Girka 6 years ago
parent de60ff3809
commit 53cc85871d

@ -87,6 +87,7 @@ export default class ComposerSpoiler extends React.PureComponent {
type='text' type='text'
value={text} value={text}
ref={handleRefSpoilerText} ref={handleRefSpoilerText}
disabled={hidden}
/> />
</label> </label>
</div> </div>

Loading…
Cancel
Save