Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panning is not working at all. #59

Closed
thandaanda opened this issue Feb 9, 2017 · 3 comments
Closed

Panning is not working at all. #59

thandaanda opened this issue Feb 9, 2017 · 3 comments

Comments

@thandaanda
Copy link

Hello, I am using this module in my project and could zoom on images but only in the x=0 y=0 coordinates, panning and dragging the image was impossible.

Going through previous issues, I removed DOCTYPE from my index.html but still issue persists.

I am not able to find the issue.

Libraries:
Angular: 1.3.10
angular-pan-zoom: 1.0.18
hamsterjs: 1.1.2
angular-mousewheel: 1.0.5
jquery: 1.11.3

Thanks for your time.

@mvindahl
Copy link
Owner

mvindahl commented Feb 9, 2017

Hello Keyur,
Would it be possible for you to reproduce this behaviour in a plunker or some equivalent tool?
Thanks,
/Martin

@thandaanda
Copy link
Author

Hi Martin,

It seems that there is some other library messing up with the code. As plunker created from my code is working as expected.

https://plnkr.co/edit/98Ssq2pOZfjzBBcUazkW?p=preview

@thandaanda
Copy link
Author

It turns out that previously I was using angular-ez-plus which has same pan-element class and it was overriding position css. Closing this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants