PixelsCommander / Propeller

JavaScript library to rotate elements with mouse or touch gestures. Supports inertia and stepwise rotation. Optimized for better performance.
http://pixelscommander.com/polygon/propeller/
409 stars 58 forks source link

fix: Use getBoundingClientRect() for element coords #36

Closed rkunev closed 6 years ago

rkunev commented 6 years ago

Hey, again @PixelsCommander. This PR addresses several issues: #10, #13 and #24 [1]. It changes three things:

rkunev commented 6 years ago

@PixelsCommander, I'm bumping up the thread again just in case you missed the PR notification the first time

PixelsCommander commented 6 years ago

Hi

I am sorry for a delay with response I am definitely interested in merging I tried this and found it breaks demo page, the one which is jquery grid. Could you have a look why this happens?

rkunev commented 6 years ago

Certainly, I'll try again with all the examples and the demo page. Edit: May I ask in which browser/OS did you find that it's breaking?

rkunev commented 6 years ago

@PixelsCommander, I was going through old PRs and issues and noticed that this one is still unresolved. Can you please take a look again when you have some time?

PixelsCommander commented 6 years ago

Hi @rkunev

Last time we spoke it was agreed that you try all demos from repository and check if they work with current PR. Did you had a chance to verify this?

rkunev commented 6 years ago

Yup, I did and couldn't reproduce any issues. I even re-checked again now with the latest version of jQuery (3.3.1, both regular and slim builds).

PixelsCommander commented 6 years ago

Confirm, no issues found. Merged. Thank you a lot! Could you make another PR to add you as a contributor to package.json?

rkunev commented 6 years ago

Absolutely! I'll send it right away

Zaniyar commented 4 years ago

yes its 2020. fyi: the minified version in dist does not have this changes.