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

I got really strange issue with Animate CC

New Here ,
Nov 05, 2020 Nov 05, 2020

I will be grateful for someone to assist me to resolve this strange and annoying issue!


I export HTML from animate CC and it is working fine both for Desktop and a mobile view.

Here is the code:

this.btn.addEventListener("click", doSomething);
function doSomething(e){

}

However, it makes a strange blue highlight color when clicking on the button.
This happens both for Chrome and Edge browsers at mobile view browser (In Real mobile) but not with Firefox...

I attached the files is this link:
http://news.spicygames.com/wp-content/uploads/2020/11/

download and see the FLA please if you want to see by your self how simple is the code...

You can also checkourt this link:
http://news.spicygames.com/wp-content/uploads/2020/11/strange_blue_highlight_on_click.html

and see the blue highlight by clicking on the square at mobile view...

Can someone solve this issue??!

213
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 ,
Nov 05, 2020 Nov 05, 2020

Add this to your CSS:

canvas {
	-webkit-tap-highlight-color: transparent;
}
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
New Here ,
Nov 13, 2020 Nov 13, 2020
LATEST

Thanks!
I find it also after a really hard time...
Thanks to you anyway!

 

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