window.open() in an iPad on load of a frame does not work

心已入冬 提交于 2019-12-01 20:52:15

probably Safari tries to block popups. That means that when the user clicks, does an action, window.open works, but not when it "happens".

You should also check your element and parent elements and make sure you do not have a ":hover" pseudo class on there. When you touch that element expecting a "click" event to occur, it will trigger the hover state on the element. If you touch again it will then fire the click event.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!