thdoan / magnify

A lightweight jQuery magnifying glass zoom plugin.
https://thdoan.github.io/magnify/
MIT License
243 stars 63 forks source link

Not working on Android 7 #42

Closed piperh closed 6 years ago

piperh commented 6 years ago

Nice, configurable magnifier, easy to install and set up. Jan 2018 works great on desktop and iOS but not functioning on my Android 7. Draws the circle but the image within is not amplified.

thdoan commented 6 years ago

I'm on Oreo and this is working fine for me in Chrome:

https://thdoan.github.io/magnify/demo.html

Does the example above work for you?

Note that there is also a mobile version:

https://thdoan.github.io/magnify/demo-mobile.html

piperh commented 6 years ago

Now on the same Android 7 device (Huawei Honor 6X) in ...magnify/demo.html the lupe is working OK, is pannable and the content shows in the circle. But you cannot scroll the page, any kind of touch on the screen (a tap or a swipe) brings up the lupe.

Then, I don't really see the point of ...demo-mobile.html What's the advantage over the default pinch/zoom on a mobile? The actions are quite confusing - a single tap enlarges the image and a swiping motion poduces the lupe. And for me the page is not scrollable.

thdoan commented 6 years ago

@piperh It seems like you're not able to scroll because the images take up most of the viewport on the phone, which toggles the lens. You can scroll the demo page by dragging along the left or right edges of the screen. To make it easier to scroll, you can set the image width to be smaller (e.g., width: 80%).

The mobile version was for those who requested to maximize the viewport when zooming. The lens motif works well on the desktop, but not so much on your phone since your finger tends to get in the way and the lens is too small on the phone (though you can change this via CSS).

thdoan commented 6 years ago

Autoclose after two weeks of inactivity...