css: transform scale - DragDealer jumps on entry
Xaorn opened this issue · 0 comments
Xaorn commented
I found an issue with the DragDeal-Item in combination with the css-scale attribute - while clicking it makes a jump-movement depending on the actual scale-factor and distance to the wrapper.
Didn't found the solution yet - it seems to be in the calculation of animation.
The movement all together is increased with a higher scale..
The boundaries are fine
Small solution for me: (scale out of the css-element)
animate: function(direct, first) {
....
var offset = [
(Cursor.x - this.offset.wrapper[0] - this.offset.mouse[0])/scale,
(Cursor.y - this.offset.wrapper[1] - this.offset.mouse[1])/scale
];
....