Skip to main content
Jhon5C3C
Participant
August 14, 2021
Answered

Blue layer on mobile

  • August 14, 2021
  • 1 reply
  • 346 views
Hello!
I am doing a simple project in adobe animate and my project is working fine on my website in desktop browser, but in mobile browser when I click on the canvas the canvas shows a blue layer.
That blue layer is actually the canvas itself, it turns blue as I click and it's very annoying.
    This topic has been closed for replies.
    Correct answer ClayUUID

    Add this to the CSS for the page:

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

    1 reply

    Jhon5C3C
    Jhon5C3CAuthor
    Participant
    August 14, 2021

    Ok, i have the same problem in chrome desktop if i'm emulating a mobile device, but not if i'm emulating a mobile device on firefox.
    Sprry for my bad english 😐

    ClayUUIDCorrect answer
    Legend
    August 14, 2021

    Add this to the CSS for the page:

    canvas {
    	-webkit-tap-highlight-color: transparent;
    }
    Jhon5C3C
    Jhon5C3CAuthor
    Participant
    August 15, 2021

    Perfect solution, Thank you very much!!