douchunrong / flot

Automatically exported from code.google.com/p/flot
0 stars 0 forks source link

latest jquery (1.7.2) breaks zoom in jquery.flot.navigate.js #711

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Using the flot navigate functionality with the latest jquery (1.7.2) rather 
than the one bundled in the flot tar.gz, causes the graph to crash / disappear 
when the mouse scroller is used to zoom an image.
(double clicking and external zoom in / out works, as in the example included 
with the original tar.gz file.

How to reproduce:
Download latest flot flot-0.7.tar.gz
Download latest jquery (http://code.jquery.com/jquery-1.7.2.min.js)
Replace jquery.min.js that comes in flot with the new version.
Run the navigation pan / zoom example that comes bundled with flot.
Scroll with mouse over graph.
Result: Graph should crash instead of zooming.

(tested in firefox and chrome)

Original issue reported on code.google.com by tasos.pa...@gmail.com on 27 Jun 2012 at 4:31

GoogleCodeExporter commented 9 years ago
This should be fixed in the master branch; we updated the mousewheel plugin to 
a newer version.  Could you try it out and let me know how it works?  Thanks!

Original comment by dnsch...@gmail.com on 10 Jul 2012 at 11:30