Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
orange4glace committed Jun 20, 2019
1 parent 63d867d commit 9c29fb8
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 9c29fb8

Please sign in to comment.