ngx-panzoom
ngx-panzoom copied to clipboard
[BUG] - Not able to zoom out during initial load(beyond initial level)
Describe the bug When i load a image, i was not able to zoom out, but after applying zoom in, zoom out works till initial level, how to zoom out to minimum image level
Reduced Test Case I have added my code to stackblitz in below url https://stackblitz.com/edit/angular-ivy-jnbvk7?file=src%2Fapp%2Fapp.component.html
To Reproduce Steps to reproduce the behavior:
- Go to above link
- Click on zoom out, image wont zoom out
- click on zoom in 3 times, zoom out wont go beyond 3 times
- If i click Fit, it works as expected,
Expected behavior When i click on zoom out, it should zoom out to levels which i set
It has to do with the keepInBounds: true
option. I think this option is either buggy or isn't implemented in a way the user would expect.