clicking on movieclip select the whole canvas on mobile

Explorer ,
Feb 05, 2020 Feb 05, 2020

Copy link to clipboard

Copied

When I click on an item that has a "click" event listener in my creatjs canvas project on a mobile device, sometimes the whole canvas 'gets selected' i.e. flashes blue.
The click on the MovieClip is detected, but how can I prevent this blue flash behavior on mobile? This is not happening on desktop.

TOPICS
Code

Views

115

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Adobe Community Professional , Feb 05, 2020 Feb 05, 2020
Hi. Include this instruction in your initialization code: createjs.Touch.enable(stage); Regards, JC

Likes

Translate

Translate
Adobe Community Professional ,
Feb 05, 2020 Feb 05, 2020

Copy link to clipboard

Copied

Hi.

 

Include this instruction in your initialization code:

createjs.Touch.enable(stage);

 

 

Regards,

JC

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Feb 05, 2020 Feb 05, 2020

Copy link to clipboard

Copied

LATEST

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines