However I cannot get even the most trivial example to work.
For example:
(the Hello World example at the bottom)
Could somebody possibly try it, or post a link to any example where double-click unzoom does work?
Or are you saying that it only works in subplots and not in simple plots that are not subplots?
Also my main concern is the message that pops up: “Double Click to Zoom Back Out”. This message should not come up if double-click unzoom is not going to work.
It could be something about my configuration but I cannot fathom what. I do notice that range selection by mouse drag is a little “sloppy”. Maybe that is a clue. Or maybe it is just broken for everyone. I need to somehow determine which is the case.
Thanks again.
That example also fails for me on my Windows 10 PC.
However, I figure that it must be working for you and others, so I tried it on an Android phone using the Puffin browser in trackpad mode, which provides a double click capability, and it DOES WORK there.
So I know that the basic capability is there. Why exactly it is not working on my PC, I have no idea. It is a Logitech M705 mouse. I tried various Windows mouse speed settings and they made no difference. As I mentioned, double click works ok with other JavaScript libraries and mouse click test sites.
I see that previous reports have been made of timing sensitivity in the double-click detection code. Perhaps my environment just happens to reproduce the problem nicely? If this seems plausible, I would be more than happy to gather any evidence that would be useful…