matlog icon indicating copy to clipboard operation
matlog copied to clipboard

Retain scroll position after log level is changed

Open orionlee opened this issue 6 years ago • 0 comments

Version: v1.2.3

Use case: When users find an interesting log lines, by say, change the log level to ERROR, the users then want to view the surrounding logs at a more detailed level, e.g., VERBOSE.

Desired behavior:

  • Users first put the log level to be more brief, e.g., ERROR
  • Then scroll to find an interesting line, and tap the line .
  • Users than change the log level to be more detailed, e.g., VERBOSE
  • The app should keep the scroll position around the aforementioned line.

Current behavior:

  • The app will move the scroll to the bottom once the log level is changed.

orionlee avatar Apr 06 '19 06:04 orionlee