Answer the question
In order to leave comments, you need to log in
How to remove the effect of clicking on a link in the Android browser?
Good afternoon.
I'm making a small HTML application, I ran into a problem.
For me, all actions with the page occur by clicking on the buttons ( <button>
) - I clicked on the button - something happened to the page.
In IOS, I more or less solved this problem, but in Android, especially when viewed through a standard browser, it leaves such an orange trail after pressing the button. And only then the trace is removed.
Actually - exactly the same trace as from clicking on a simple link.
The question is, is there any way to remove this trace?
Through CSS :focus :active :hover
- it does not work.
I tried to make not buttons, but divs or spans - the same result.
Connected jQuery-Mobile - if 'tap', then it turns out, but only in Chrome, the standard browser still leaves an orange trail.
Thank you!
Answer the question
In order to leave comments, you need to log in
And what is this style? Maybe it's htmlbook.ru/css/outline - then just define it as outline: none !important .
For android like this -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-tap-highlight-color: transparent; /* For some Androids */
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question