TeamMaestro / pdf-viewer

PDF viewer web component built in StencilJS. Reusable in Angular, Ionic, React, Vue.JS, etc.
MIT License
76 stars 12 forks source link

Pinch-zoom destroys whole Capacitor container #28

Open bitflower opened 4 years ago

bitflower commented 4 years ago

Hey Sean,

as discussed on Slack, here‘s the issue.

I‘m using the team hive PDF viewer. I think it uses an iFrame under the hood. When it is open my pure Stencil app can be pinch-zoomed. This affects the whole app container of Capacitor. Any idea how this can be prevented.

You said: Capacitor should prevent the web view pinch to zoom. However we haven’t baked that into the component yet. It is on our roadmap in the next few months.

See attached video.

I think you can re-pro without a test case repo? Let me know!

Thanks, Matt

bitflower commented 4 years ago

https://www.transfernow.net/84ir12w16n4z