Closed RazerM closed 2 months ago
Might be this original issue: https://github.com/mozilla-frontend-infra/react-lazylog/issues/40
I have not used the follow prop in any of my code so I have never tested it. PR is welcome though if you want to investigate and try and fix it!
I don't think so, follow appears to work in the original version of the library.
Ahh most likely then an upgrade from react-virtualized
which is deprecated to react-window
?
Any idea how this could be fixed? This would be useful for us.
I would think the method to debug would be here: https://github.com/melloware/react-logviewer/blob/2fc93e33c0531af29b4c3d77a16bcf759d1dc01c/src/components/Utils/utils.ts#L14-L30
Thanks to @ClemensElflein 5.1.0 is now released to NPM.
The
follow
prop is not working for me, I have tried it with and without<ScrollFollow>
. The log viewer just stays at the top without scrolling to show new lines.Here is a codesandbox with the test case, although you have to provide your own websocket. I'm not sure if
follow
is meant to work when changingtext
, but that didn't work either.