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

Draggable error #449

Closed
sirsquall opened this issue May 14, 2013 · 5 comments
Closed

Draggable error #449

sirsquall opened this issue May 14, 2013 · 5 comments
Labels

Comments

@sirsquall
Copy link

Hi,

Scenario: Drag element on an iPad
When draggable is set to TRUE on an element
And the user is starting to touch this element with 2 fingers
Then the element is blocked and no more action can be done.

Config:

var stage = new Kinetic.Stage({
container: 'container_front',
x:115,
y:197,
width: 230,
height: 385,
draggable: true,
offset: [230, 100] // Position of the image inside the canvas
});

@sirsquall
Copy link
Author

kinetic-v4.5.1.js:5766

You only set the position if the length is === 1 so when the user use those two finger the touchPos is not setted, is for that we have this error.

Why limit the drag to only one finger ?

@lavrton
Copy link
Contributor

lavrton commented May 14, 2013

similar: #411

@ericdrowell
Copy link
Owner

I'll have this fixed by the next release. stay tuned!

@sirsquall
Copy link
Author

Okey thanks 👍 nice job

@lavrton
Copy link
Contributor

lavrton commented Mar 6, 2014

I will close the issue. Currently there are no errors with multitouch - shape just stops dragging. There is issue for full multitouch drag support: #411

@lavrton lavrton closed this as completed Mar 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants