diff --git a/libs/remix-ui/file-explorer/src/lib/file-explorer.tsx b/libs/remix-ui/file-explorer/src/lib/file-explorer.tsx index acb421a251..16ab028599 100644 --- a/libs/remix-ui/file-explorer/src/lib/file-explorer.tsx +++ b/libs/remix-ui/file-explorer/src/lib/file-explorer.tsx @@ -712,6 +712,7 @@ export const FileExplorer = (props: FileExplorerProps) => { } } else { if (state.focusEdit.lastEdit === content) { + editRef.current.textContent = content return setState(prevState => { return { ...prevState, focusEdit: { element: null, isNew: false, type: '', lastEdit: '' } } })