开发者

Address bar keeps popping down in mobile Safari

开发者 https://www.devze.com 2023-03-30 17:59 出处:网络
I am having trouble in mobile Safari. I have a link that when clicked (or tapped) fires some Javascript but does not navigate to a new page (onclick="return false"). The link is performing t

I am having trouble in mobile Safari. I have a link that when clicked (or tapped) fires some Javascript but does not navigate to a new page (onclick="return false"). The link is performing the way that I want but when it is tapped the address bar in mobile safari pops down for a second giving the impression that one is navigating somewhere. I need a way to prevent this开发者_JAVA百科 behavior.


The only solution I have found is to remove the href's from the links in general via javascript.

0

精彩评论

暂无评论...
验证码 换一张
取 消