Answer the question
In order to leave comments, you need to log in
How to remove the blue background when clicking on an element?
Good to everyone!
There is a layout with the connected libraries materialize and hamburgers. Used slide out menu from materialize. When you click on the button to open and close the menu, a blue background appears, presumably above the element.
These elements are laid out with different tags, with different styles. The background for them is set. And it doesn't look like a background. I did not find a similar style in any of the libraries. This background disappears within about 0.5 seconds. if you hold down the pointer on the element. Tried disabling libraries. The effect disappears if both materialize and hamburgers are disabled. I don't understand what connection there is. The effect is present on mobile browsers Chrome and Safari.
Answer the question
In order to leave comments, you need to log in
Apply to your problematic elements:webkit-tap-highlight-color: rgba(0, 0, 0, 0);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question