zoom.js icon indicating copy to clipboard operation
zoom.js copied to clipboard

Right click on expanded image

Open CliffS opened this issue 9 years ago • 3 comments

I got complaints from my users that they would expect right-click to work on the image while it's expanded. Currently it simply closes the zoom.

I simply added one line to _clickHandler:

    if (e.which == 3) return

Would you like a PR, do you disagree with the change or would you like me to add it in as an option?

CliffS avatar Jan 11 '16 20:01 CliffS

Seems to be working fine, at least on Chrome 48 on OS X. Which browser and OS are you on?

image

spinningarrow avatar Feb 01 '16 12:02 spinningarrow

On 01/02/16 13:14, Sahil Bajaj wrote:

Seems to be working fine, at least on Chrome 48 on OS X. Which browser and OS are you on?

Ubuntu 15.10 and Firefox 44.0.

What happens currently is that the right click is seen as a click and causes the enlarged image to close.

Cliff Stanford London: +44 20 0222 1666 Swansea: +44 1792 469 666 Mobile: +44 7973 616 666

CliffS avatar Feb 01 '16 14:02 CliffS

Looks like a Firefox issue - I tried it just now and though I see the context menu, the image does zoom out as you described.

spinningarrow avatar Feb 01 '16 15:02 spinningarrow