-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text Mode: Unnecessary scroll to top when the state is updated #25
Comments
@Marlen0307 yes changing the <LazyLog url="http://example.log" stream /> From the docs:
|
@melloware Thank you for the quick reply! |
Hmmm I have only been using it the same way you do with I have never really used the URL or WebSocket mode but the seemed to be more designed for your use case. I have to admit i took over this component because you saw the main project had been basically abandoned so I am not a thorough expert on all facets of this component. |
if you set |
Hi 👋 ,
I am using the log-viewer for fetching logs from a spring boot server. I am using an interval to constantly query the endpoint for fetching the logs. I am using the
text
property in order to display the logs. Here is the code snippet:The problem that I am facing is that every time the
text
prop is updated the log viewer is rerendered which causes it to scroll back to the top. Is there a workaround to this?The text was updated successfully, but these errors were encountered: