Skip to content
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

[BUG] recyclerView.computeVerticalScrollOffset() always return 0 #154

Open
cbuemc opened this issue Sep 13, 2024 · 2 comments
Open

[BUG] recyclerView.computeVerticalScrollOffset() always return 0 #154

cbuemc opened this issue Sep 13, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@cbuemc
Copy link

cbuemc commented Sep 13, 2024

📝 Describe the Bug

Upgrade pdf-viewer 2.1.1 version
After upgrading pdf-viewer to version 2.1.1, recyclerView.computeVerticalScrollOffset() always returns 0. The offset cannot be determined, resulting in an inability to determine whether the PDF has scrolled to the bottom. Is there any good solution?

📖 Library Version

  • PDF Viewer Version: [e.g., 2.1.1]

🚶 Steps to Reproduce

Please follow these steps to reproduce the issue:

  1. Initial Setup/Library Method Used: [e.g., initWithUrl method]
  2. Actions Taken: [e.g., Clicked on 'Load PDF']
  3. Unexpected Behavior: [e.g., PDF not loading]
  4. Relevant Code/Stack Trace: [Include code snippet or stack trace if applicable]

🤔 Expected Behavior

What did you expect to happen?

🖼️ Screenshots/Videos

If applicable, add screenshots or videos to help explain your problem.

📱 Smartphone Info:

  • Device: [e.g., Samsung Galaxy S10]
  • OS: [e.g., Android 11]
  • Library Version: [e.g., 2.0.0]

💻 Code Snippets

Include relevant code snippets or links to code repositories.

📜 Log Output/Stack Trace

Include any error logs or stack trace for more context.

💬 Additional Context

Add any other context about the problem here. Mention if the issue is consistent, specific scenarios where the bug occurs, etc.


@cbuemc cbuemc added the bug Something isn't working label Sep 13, 2024
Copy link

Thank you for creating your first issue. We appreciate your help in making this project better. We will look into it, and get back to you soon. Need help or want to discuss this issue? Join our Discord community here to ask questions and discuss this issue live!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
@cbuemc and others