I got really strange issue with Animate CC

New Here ,
Nov 05, 2020 Nov 05, 2020

Copy link to clipboard

Copied

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??!

Views

63

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

Copy link to clipboard

Copied

Add this to your CSS:

canvas {
	-webkit-tap-highlight-color: transparent;
}

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
New Here ,
Nov 13, 2020 Nov 13, 2020

Copy link to clipboard

Copied

LATEST

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

 

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