Skip to content

Commit c83426d

Browse files
authored
fixed image button not being focusable with tab (#593)
1 parent 5a19151 commit c83426d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web/components/config/PhotoPreview.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export function PhotoPreviewButton({ text, onSelect }: ButtonProps) {
3232
id="file-upload"
3333
ref={inputRef}
3434
type="file"
35+
tabIndex={0}
3536
onChange={(e) => {
3637
const ok = imageSelectHandler(e);
3738
if (ok) {

0 commit comments

Comments
 (0)