z-order bug fix

This commit is contained in:
Rob DeLine
2019-06-18 16:22:21 -07:00
parent 9b5e03b1f6
commit b0a49817dc

View File

@@ -36,6 +36,7 @@ class EditorWebviewZone implements IViewZone {
readonly webview: Webview,
) {
this.domNode = document.createElement('div');
this.domNode.style.zIndex = '10'; // without this, the webview is not interactive
this.afterLineNumber = range.startLineNumber;
this.afterColumn = range.startColumn;
this.heightInLines = range.endLineNumber - range.startLineNumber;