When the terminal is in screenReaderMode, it's no longer possible to scroll by clicking on the scrollbar.
The problem is caused by the .xterm-accessibility element, which has a z-index of 10 (in release 4.4.0, see: https://github.com/xtermjs/xterm.js/blob/4.4.0/css/xterm.css#L153)
In my project's stylesheet i've added a z-index to.xterm-viewport as well as added a line that forces the background-color to be transparent (because an inline style is set on that item).
The ugly hack looks like this:
.xterm-viewport {
z-index: 11;
/* Don't use the background color set by xterm */
background-color: transparent !important;
}
Most helpful comment
The problem is caused by the
.xterm-accessibilityelement, which has a z-index of 10 (in release 4.4.0, see: https://github.com/xtermjs/xterm.js/blob/4.4.0/css/xterm.css#L153)In my project's stylesheet i've added a z-index to
.xterm-viewportas well as added a line that forces the background-color to be transparent (because an inline style is set on that item).The ugly hack looks like this: