App logs window scroll issues
-
@nebulon Since new log lines inject and start from left to right, that seems to reset the view as it follows the cursor focus at least initially?
There are other log windows where this doesn't occur. How are they different?
Another thought is that perhaps by adding a transparent layer on top of the logs, it will allow the window to remain static but have logs keep coming.
An improvement idea would be to have the log windows function more like less -F which can be cancelled and then searched via / and other useful less commands.
-
In firefox, when I scroll up, the view does not automatically scroll for me when as new lines come in.
-
-
-
I think the behavior even comes from upstream xterm.js but @nebulon can confirm
-
The logviewer does not use xterm.js but just plain DOM elements. The root cause of this is, that we call
scrollIntoView()
for an anchor element at the bottom of the page, if the user has not vertically scrolled.
Since this element sits bottom left, the browser also scrolls left. I will see what can be done to keep horizontal scroll position. -
-