mvindahl/angular-pan-zoom

The zoom stopped working after I randomly clicked on the area outside of the demo picture

Closed this issue · 3 comments

I opened the demo and the zooming and panning worked beautifully until I clicked on a white area that is outside of the picture. The the zoom stopped working while the panning was fine.

Hi @msheng2711
Thanks for reporting this. It seems to be 100% reproducible using the following steps:

  • open demo page
  • click outside image
  • click inside image
  • try to zoom using the mouse wheel (doesn't work)

I'll look into the issue tonight. I have a suspicion about the cause of the problem.

On a side note, all animation was killed in the process. Doh.

The issue was caused by wrong assumptions about how jQuery.fx works and it has been fixed now. It was serious enough to warrant a bugfix release so I've bumped the version number to 1.0.2 in bower.

Once again thanks to @msheng2711 for reporting the issue!

Thanks for the quick fix. It is working now.