mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-24 09:18:06 +01:00
[Glitch] Don't focus spoiler input when disabled spoiler
Inspired by 0e513ff862
This commit is contained in:
parent
0e34e91661
commit
e230b176fb
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue