@xterm/xterm 5.6.0-beta.44 → 5.6.0-beta.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -206,7 +206,8 @@ export abstract class AbstractScrollableElement extends Widget {
|
|
|
206
206
|
|
|
207
207
|
protected constructor(element: HTMLElement, options: ScrollableElementCreationOptions, scrollable: Scrollable) {
|
|
208
208
|
super();
|
|
209
|
-
|
|
209
|
+
// HACK: xterm.js currnetly requires overflow to allow decorations to escape the container
|
|
210
|
+
// element.style.overflow = 'hidden';
|
|
210
211
|
this._options = resolveOptions(options);
|
|
211
212
|
this._scrollable = scrollable;
|
|
212
213
|
|
|
@@ -228,7 +229,8 @@ export abstract class AbstractScrollableElement extends Widget {
|
|
|
228
229
|
this._domNode.className = 'xterm-scrollable-element ' + this._options.className;
|
|
229
230
|
this._domNode.setAttribute('role', 'presentation');
|
|
230
231
|
this._domNode.style.position = 'relative';
|
|
231
|
-
|
|
232
|
+
// HACK: xterm.js currnetly requires overflow to allow decorations to escape the container
|
|
233
|
+
// this._domNode.style.overflow = 'hidden';
|
|
232
234
|
this._domNode.appendChild(element);
|
|
233
235
|
this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode);
|
|
234
236
|
this._domNode.appendChild(this._verticalScrollbar.domNode.domNode);
|