thdoan / magnify

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

imagemap demo question #26

Closed dcasey160 closed 7 years ago

dcasey160 commented 7 years ago

Hello. On the new image map ability demo, I see I the click being sent to the image map and then we head to say the Google site like we should. Then if I hit the back button, the lens is in the position where I'd left it (until I place the mouse on the image again) and the page no longer registers clicks unless I refresh the page. This behavior is on Safari. On Firefox, the click on the image map actually doesn't seem to register at all. On Chrome, the click on the image map does send me to the proper links, and after hitting the Back button, the image map still responds to clicks normally. So in summary: Chrome - works well including after leaving the page and returning via Back button Safari - works on first click to new page, but not after returning Firefox - doesn't register the first click Thank you.

thdoan commented 7 years ago

I was able to reproduce the issue in Firefox Nightly (v52). It smells like a bug, and I have filed a bug report on BMO: https://bugzilla.mozilla.org/show_bug.cgi?id=1311283

Let's see what they say. In the meantime, the issue with Safari should be fixed on the demo page now -- please confirm whether Safari also works as expected for you.

UPDATE: This is a known Firefox bug.

dcasey160 commented 7 years ago

Firefox 48.0.2 on a Mac, OS X 10.11.6 (El Capitan) - thank you.

thdoan commented 7 years ago

@dcasey160 Please close if the Safari back issue has been resolved for you because the Firefox issue cannot be fixed (known issue -- see previous comment). There is currently no known way of manually firing a 'click' event at an x,y coordinate in Firefox to simulate clicking on an image map area.

dcasey160 commented 7 years ago

The Safari back button issue is resolved now. Thank you.

thdoan commented 7 years ago

@dcasey160 This should also be working in Firefox now (upgrade to v1.6.16).