@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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xterm/xterm",
3
3
  "description": "Full xterm terminal, in your browser",
4
- "version": "5.6.0-beta.44",
4
+ "version": "5.6.0-beta.45",
5
5
  "main": "lib/xterm.js",
6
6
  "module": "lib/xterm.mjs",
7
7
  "style": "css/xterm.css",
@@ -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
- element.style.overflow = 'hidden';
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
- this._domNode.style.overflow = 'hidden';
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);