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

[Enhancement][PdfViewer] Introduce Pinch zoom functionality #2080

Open
vveesseelliinnaa opened this issue Mar 12, 2024 · 0 comments
Open

[Enhancement][PdfViewer] Introduce Pinch zoom functionality #2080

vveesseelliinnaa opened this issue Mar 12, 2024 · 0 comments
Labels
Enhancement New feature of an existing functionality or an improvement of an existing functionality KendoReact pkg:PdfViewer

Comments

@vveesseelliinnaa
Copy link
Contributor

I'm submitting a...

  • Suggestion for improvement

Current behavior

Currently pinching the PDF loaded in the PdfViewer zooms the whole component (including the Toolbar), while it will be useful to be able to pinch zoom in/out only the loaded content.
This feature is already available in the PdfJS library as of version v3.3.122 - mozilla/pdf.js#2582

Expected behavior

Only the content should be zoomed when pinching like in the following PDF.js demo - https://mozilla.github.io/pdf.js/web/viewer.html

Minimal reproduction of the problem with instructions

  1. Open the following demo on mobile browser - https://y5cyw2.csb.app/
  2. Try to zoom the content with pinching

Additional information

Requested in Ticket ID: 1644499
Internal issue - https://github.com/telerik/kendo-pdfviewer-common/issues/41

@vveesseelliinnaa vveesseelliinnaa added Enhancement New feature of an existing functionality or an improvement of an existing functionality pkg:PdfViewer KendoReact labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature of an existing functionality or an improvement of an existing functionality KendoReact pkg:PdfViewer
Projects
None yet
Development

No branches or pull requests

1 participant