mirror of https://github.com/Siphonay/mastodon
[Glitch] Don't focus spoiler input when disabled spoiler
Inspired by 0e513ff862
This commit is contained in:
parent
0e34e91661
commit
e230b176fb
|
@ -87,6 +87,7 @@ export default class ComposerSpoiler extends React.PureComponent {
|
|||
type='text'
|
||||
value={text}
|
||||
ref={handleRefSpoilerText}
|
||||
disabled={hidden}
|
||||
/>
|
||||
</label>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue