Autofocus input in Create Parent Item dialog (#4476)

This commit is contained in:
Abe Jellinek 2024-08-01 00:28:53 -04:00 committed by GitHub
parent 804b2d1216
commit 255de649ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,12 +56,13 @@ function CreateParent({ loading, item, toggleAccept }) {
<input
id="parent-item-identifier"
size="50"
disabled={ loading }
onChange={ handleInput }
autoFocus={true}
disabled={loading}
onChange={handleInput}
/>
<div
mode="undetermined"
className={ cx('downloadProgress', { hidden: !loading }) }
className={cx('downloadProgress', { hidden: !loading })}
>
<div className="progress-bar"></div>
</div>