Added onScroll callback to LazyLog component, this was completely missing. Therefore the ScrollFollow component could not track user's scrolling.
In the LazyLog component, the scroll position was not updated when follow property was true. I added the code to update the scroll position (only, if search is not in use).
The ScrollFollow component always overwrote the follow state with the initial value, also the logic never re-enabled scrolling.
Fix #14.
Changes are the following:
onScroll
callback toLazyLog
component, this was completely missing. Therefore theScrollFollow
component could not track user's scrolling.LazyLog
component, the scroll position was not updated when follow property was true. I added the code to update the scroll position (only, if search is not in use).ScrollFollow
component always overwrote the follow state with the initial value, also the logic never re-enabled scrolling.