retyui / react-quick-pinch-zoom

A react component that providing multi-touch gestures for zooming and dragging on any DOM element.
https://react-quick-pinch-zoom.netlify.app/
308 stars 46 forks source link

SVG support #22

Closed michaelpeterlee closed 1 year ago

michaelpeterlee commented 4 years ago

v3.0.0 .SVG does not zoom >100% and loads very small, does not fit parent container on load.

michaelpeterlee commented 4 years ago

Interestingly Android web-view works perfectly, iOS and web have the same .SVG issue.

retyui commented 4 years ago

@michaelpeterlee Could you please create a demo repo of this problem?

michaelpeterlee commented 4 years ago

It could be due to the library not using CSS namespaces. I'll review our implementation to see if it's something we are doing in the parent/host app.