Pdf-Viewer icon indicating copy to clipboard operation
Pdf-Viewer copied to clipboard

Double-tap to zoom

Open jamshidSobirov opened this issue 10 months ago • 11 comments

📝 Describe the Bug

Hi, thank you for your effort to make such a wonderful library! I really appreciate it! But I am facing a bug... When I double tap to zoom-in, the content becomes invisible. Only when I swipe it becomes visible.

📖 Library Version

  • 2.1.1

🖼️ Screenshots/Videos

Uploading doc_2024-04-18_03-26-50.mp4…

📱 Smartphone Info:

  • Redmi note 8
  • OS: Android 11
  • Library Version: 2.1.1

jamshidSobirov avatar Apr 17 '24 22:04 jamshidSobirov

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!

github-actions[bot] avatar Apr 17 '24 22:04 github-actions[bot]

Same issue, btw, when you double tap in "PDF in view" it zooms top left corner.

VEZE avatar Apr 30 '24 11:04 VEZE

Same issue with API 30 Emulator, using Compose one to load PDF from URL

wiryadev avatar May 19 '24 08:05 wiryadev

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Jun 19 '24 02:06 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Jun 24 '24 02:06 github-actions[bot]

Hello there, I have the same issue. Did anyone has a work-around?

LuongTruong avatar Jul 12 '24 07:07 LuongTruong

can this be reopened?

wiryadev avatar Jul 14 '24 14:07 wiryadev

@VEZE @wiryadev @LuongTruong I've fixed the issue in this PR. Seemingly it was a minor fix. 🙂

After applying the fix

https://github.com/user-attachments/assets/7bd4496b-c8d5-4240-baab-2bad7b37bba9

bastionkid avatar Aug 03 '24 13:08 bastionkid

@VEZE @wiryadev @LuongTruong I've fixed the issue in this PR. Seemingly it was a minor fix. 🙂

After applying the fix

trimmed.mp4

thanks, figured out that we can use absolute of existing code result to fix that,

wiryadev avatar Aug 03 '24 16:08 wiryadev

I've fixed this issue and add zoom animation in #164.

aizpy avatar Oct 12 '24 09:10 aizpy

https://github.com/user-attachments/assets/153fecb0-74c4-4c06-b3cd-a14fb7ee9ab1

aizpy avatar Oct 12 '24 09:10 aizpy