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

clicking on movieclip select the whole canvas on mobile

Explorer ,
Feb 05, 2020 Feb 05, 2020

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
345
Translate
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

Translate
Community Expert ,
Feb 05, 2020 Feb 05, 2020

Hi.

 

Include this instruction in your initialization code:

createjs.Touch.enable(stage);

 

 

Regards,

JC

Translate
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
LATEST
Translate
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