mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(edit menu): remove autofocus, it caused auto scroll
This commit is contained in:
@@ -144,7 +144,6 @@ const EditMenu = ({ isAccountMod, isAccountCommentAuthor, isCommentAuthorMod, po
|
|||||||
className={styles.editTextarea}
|
className={styles.editTextarea}
|
||||||
value={publishCommentEditOptions.content ?? ''}
|
value={publishCommentEditOptions.content ?? ''}
|
||||||
onChange={(e) => setPublishCommentEditOptions((state) => ({ ...state, content: e.target.value }))}
|
onChange={(e) => setPublishCommentEditOptions((state) => ({ ...state, content: e.target.value }))}
|
||||||
autoFocus={true}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user