explorer: fix text input not getting focus when clicked

All user controls should stop propagation of events that are handled.
This commit is contained in:
David Lechner
2022-05-30 11:01:29 -05:00
parent 69ca51fbbb
commit d42b72f1a3
@@ -95,6 +95,7 @@ const FileNameFormGroup: React.VoidFunctionComponent<FileNameFormGroupProps> = (
inputRef={inputRef}
intent={fileNameIntent}
rightElement={<Tag aria-hidden>{fileExtension}</Tag>}
onMouseDown={(e) => e.stopPropagation()}
onChange={(e) => onChange(e.target.value)}
/>
</FormGroup>