create file while being unfocus

pull/866/head
yann300 4 years ago
parent f1db5136f0
commit 3ed12e16b7
  1. 2
      libs/remix-ui/file-explorer/src/lib/file-explorer.tsx

@ -19,7 +19,7 @@ export const FileExplorer = (props: FileExplorerProps) => {
const { filesProvider, name, registry, plugin, focusRoot, contextMenuItems, displayInput, externalUploads } = props
const [state, setState] = useState({
focusElement: [{
key: name,
key: '',
type: 'folder'
}],
focusPath: null,

Loading…
Cancel
Save