Skip to content

Commit

Permalink
Merge pull request #75826 from orange4glace/master
Browse files Browse the repository at this point in the history
fix: #72626
  • Loading branch information
isidorn authored Jun 20, 2019
2 parents 0779716 + 9c29fb8 commit 4e47d5c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export class FilesRenderer implements ITreeRenderer<ExplorerItem, FuzzyScore, IF
label.element.style.display = 'none';
const value = inputBox.value;
dispose(toDispose);
container.removeChild(label.element);
label.element.remove();
// Timeout: once done rendering only then re-render #70902
setTimeout(() => editableData.onFinish(value, success), 0);
});
Expand Down Expand Up @@ -265,6 +265,7 @@ export class FilesRenderer implements ITreeRenderer<ExplorerItem, FuzzyScore, IF
}
else {
dispose(toDispose);
label.element.remove();
}
});
}
Expand Down

0 comments on commit 4e47d5c

Please sign in to comment.