Commit 3ed12e16 authored by yann300's avatar yann300

create file while being unfocus

parent f1db5136
...@@ -19,7 +19,7 @@ export const FileExplorer = (props: FileExplorerProps) => { ...@@ -19,7 +19,7 @@ export const FileExplorer = (props: FileExplorerProps) => {
const { filesProvider, name, registry, plugin, focusRoot, contextMenuItems, displayInput, externalUploads } = props const { filesProvider, name, registry, plugin, focusRoot, contextMenuItems, displayInput, externalUploads } = props
const [state, setState] = useState({ const [state, setState] = useState({
focusElement: [{ focusElement: [{
key: name, key: '',
type: 'folder' type: 'folder'
}], }],
focusPath: null, focusPath: null,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment