Window.open + Mobile Devices + Canvas == Not working?

前端 未结 1 1384
既然无缘
既然无缘 2021-01-21 09:54

I have a \"button\" I\'ve created inside of the element. It is a simple path that detects if you\'re in it, and if you\'ve clicked it or have your finger on it. If you do, it e

相关标签:
1条回答
  • 2021-01-21 10:11

    Oddly enough, it seems to work if you give it a size..

    var windowSize = "width=" + window.innerWidth + ",height=" + window.innerHeight + ",scrollbars=no";
    window.open('http://www.google.com', 'popup', windowSize);
    

    Tested on iOS and Android.

    0 讨论(0)
提交回复
热议问题