Skip to content

touchstart callback doesn't work #465

@bvargish

Description

@bvargish

In the case below, why would mousedown work but not touchstart? I'm using createjs.Touch.enable(stage); but it doesn't make a difference. I thought maybe mousedown was overriding touchstart, but removing the mousedown listener doesn't make a difference. In my case, I want something to behave differently if a mouse is used instead of a finger.

pointsClip.addEventListener('mousedown', function(evt){
alert('mousedown');
});
pointsClip.addEventListener('touchstart', function(evt){
alert('touchstart');
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions