Hidden links are still available in the Android browser

I have a context menu that appears when a button is clicked. This menu has some links and hides again after a few seconds. The problem is that after the menu disappears, the links still exist. They are not displayed, but are clickable and a green frame appears. And after a few seconds they disappear.

I tried many ways to hide the menu: display: none, visibility: hidden, width: 0, height: 0, jquery hide, jquery fadeout ... but no one worked. Also avoids links.

Does anyone have any idea what is going on? With other browsers it works without problems.

thanks

+4
source share
1 answer

Sounds like a mistake. Try the following:

position: absolute; left: -10000px; 
0
source

Source: https://habr.com/ru/post/1309682/


All Articles