ngx-pinch-zoom icon indicating copy to clipboard operation
ngx-pinch-zoom copied to clipboard

[limitZoom]="number" not working ivy-pinch-pro-1.4.0

Open danday74 opened this issue 2 years ago • 0 comments

Setting [limitZoom]="number" does not work on ivy-pinch-pro-1.4.0

My code by necessity is complex. Here's the key parts:

<pinch-zoom #pinch="pinchZoom" disableZoomControl="disable" [transitionDuration]="200" (events)="handlePinchZoomEvent($event)" (wheel)="handlePinchZoomEvent($event)"> <video ...> </pinch-zoom>

I want to use [limitZoom]="number" but it does nothing.

As a workaround, I have had to add an absolutely positioned image inside the tag - this correctly restricts zoom but it makes my code far more complex than it needs to be since I have to generate an appropriate image that will restrict zoom according to the dimensions of the video.

I appreciate pinch-zoom was not meant for video but generally speaking it does a good job of allowing zooming in on a video. This is one of the problems I am facing however.

Any thoughts? Thanks in advance

danday74 avatar Dec 22 '21 17:12 danday74