-
Notifications
You must be signed in to change notification settings - Fork 5
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
PDF Viewer not updating on st.rerun() in prod. #57
Comments
Hi @JanEricNitschke, Do you have the link to the deployed application? And, do you have the code hosted somewhere? Or can you share a working example? |
Hi @lfoppiano , thanks for the quick response. Unfortunately i cant show you the code or application at the moment and it hard to produce a minimal example as the issue is the discrepancy between the local and hosted version (despite docker). I also do not have much experience with streamlit. I understand that that makes it extremely hard to help/debug. I was just hoping that you might have encountered something similar before or just have a gut feeling what could be causing something like that that i could try out on my side. |
But i can try to describe the relevant parts a bit: The code that displays the pdf is
And then i have this to move through the pages (this works locally but not deployed)
and this to change the pdf shown:
|
I think it might be some sort of race condition as my local machine is significantly better than what I have hosted it on. |
Thanks. I will try to look at it in the next two weeks. If anything else comes to your mind feel free to comment here. |
@JanEricNitschke I've released the version 0.0.16 which solves some issues with the viewer. |
I am having real trouble with an extremely weird issue. Running my application locally works fine, both in the normal poetry environment as well as the docker container. However when i host it online some functionality we use to show the next page does not cause the viewer to refresh with the next page despite changing the page that is sent to
pages_to_render
and calling a st.rerun().However it does refresh when interacting with unrelated elements that also call
st.rerun()
. Would love to know if you have an ide where this is coming from and how to fix it.Cheers
The text was updated successfully, but these errors were encountered: