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.
-
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. -
-