• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

215

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

Community Expert , Feb 05, 2020 Feb 05, 2020

Hi.

 

Include this instruction in your initialization code:

createjs.Touch.enable(stage);

 

 

Regards,

JC

Votes

Translate

Translate
Community Expert ,
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

Votes

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
LEGEND ,
Feb 05, 2020 Feb 05, 2020

Copy link to clipboard

Copied

LATEST

Votes

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