Add information about streamlit limits against #107#129
Merged
Conversation
Sanakhamassi
approved these changes
Apr 24, 2026
Sanakhamassi
left a comment
There was a problem hiding this comment.
I tested it and runtime UserWarning appears correctly when importing streamlit_pdf_viewer with Streamlit >= 1.41
- Warning message is clear and includes:
- Problem description
- Link to issue #107
- Recommended streamlit version (
pin streamlit<1.41)
-Warning does NOT appear with Streamlit 1.41.0 (< 1.41)version so check logic works correctly
- README updated with "Streamlit compatibility" section explaining the regression
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR informs uses about the latest streamlit version to be used to avoid #107. The version is no enforced because #107 only occur on specific conditions.