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

kineticjs masked draggable objects not working in android #1062

Open
vkshrestha opened this issue Apr 8, 2015 · 2 comments
Open

kineticjs masked draggable objects not working in android #1062

vkshrestha opened this issue Apr 8, 2015 · 2 comments

Comments

@vkshrestha
Copy link

I created a group that would mask (clip). I then added draggable shapes inside the group.
I found that those shapes inside the group with clip are not draggable in browsers in android.
The draggable shapes outside the group that clips works fine in all devices.

Example code structure:

    var gp = new Kinetic.Group({ ... , clip: { ... } });

    // this text is not draggable in android browsers
    var txt = new Kinetic.Text({ ... , draggable: true });
    gp.add(txt);

    // this rect is also not draggable in android browsers
    var rect1 = new Kinetic.Rect({... , draggable: true });
    gp.add(rect);

    // this rect is draggable in all devices that I tested
    var rect2 = new Kinetic.Rect({... , draggable: true });
    layer.add(rect2);

kineticjs version: 5.1.0

My test devices are:
Windows 8.1 - Chrome, Firefox, IE - draggable shape works in all
iPad iOS6 - Safari - draggable shape works here as well
Android Kitkat - Chrome, Firefox, Stock browser - shapes couldn't be dragged

Does anyone know what is wrong here? Thanks.

@vkshrestha
Copy link
Author

it did not work in android lollipop browsers as well

@pgrodrigues
Copy link

Try to ask this question in KonvaJS github (KineticJS fork), maybe someone can help you there.

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