I'm using this library to display monitoring logs with scrolling functionality, but I'm encountering a scrolling issue.
Every time a new log line is loaded, the cm-scroller always automatically resets the scrollbar to the very top. Even when I added an outer div wrapper for scrolling, I found that forcibly setting the scrollbar to the bottom doesn't work.
What I want to achieve:
Allow free scrolling (without automatic resetting), or
Lock the scrollbar to the bottom
How can I implement this?