samjonesigd / vue-image-zoomer

Image zoom component for Vue.js
https://samueljon.es/vue-image-zoomer
MIT License
104 stars 10 forks source link

Zoom amount doesn't actually works #30

Open abhishek-quck opened 1 month ago

abhishek-quck commented 1 month ago

installing the vue-image-zoomer^2.4.0 setting it all up goes good and all but doen't actually zooms out instead if focuses on the right side of the image. No matter how much zoom amount you set and no matter what position you start to hover on it. what's the matter exactly can you confirm ?

samjonesigd commented 1 month ago

Can you put your code on codepen or something? @abhishek-quck

ZawHlaingWin007 commented 1 month ago

Same here! When hover on image, it shows right bottom corner of image with white screen.

samjonesigd commented 1 month ago

@ZawHlaingWin007 @abhishek-quck Can you share your code, I set up a quick demo here and it is working as it should on the latest version?

https://codesandbox.io/p/devbox/agitated-tharp-jwhzgk?file=%2Fsrc%2FApp.vue%3A16%2C49

yoshi29 commented 1 month ago

@samjonesigd This happens to me as well. I use zoomer with vue 3, composition api, and primevue. I can share my code with you later.