Skip to main content
New Participant
November 5, 2020
Question

I got really strange issue with Animate CC

  • November 5, 2020
  • 1 reply
  • 254 views

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

    This topic has been closed for replies.

    1 reply

    Brainiac
    November 5, 2020

    Add this to your CSS:

    canvas {
    	-webkit-tap-highlight-color: transparent;
    }
    New Participant
    November 13, 2020

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