[英]Meteor: google login doesn't work on iphone/ipad
I implemented a simple meteor site that uses google login. 我实现了一个使用Google登录名的简单流星网站。 It works in desktop browsers.
它适用于桌面浏览器。 In Chrome, I use mobile device emulation and it also works.
在Chrome浏览器中,我使用移动设备仿真,它也可以工作。 It also works on an android device I tried.
它也可以在我尝试过的Android设备上使用。 However, it doesn't work on iphone/ipad.
但是,它不适用于iPhone / iPad。 I use safari and chrome in iphone/ipad, but neither works.
我在iphone / ipad中使用了Safari和Chrome浏览器,但均无效。 The issue is that when I click the link to login, nothing happens.
问题是,当我单击链接进行登录时,没有任何反应。 But in desktop and android, it brings me to the google login page.
但是在台式机和Android系统中,它使我进入了Google登录页面。
I have a test site: http://wwwtest.meteor.com/ 我有一个测试网站: http : //wwwtest.meteor.com/
It is deployed in debug mode so you can see the files. 它以调试模式部署,因此您可以查看文件。
Anything special that prevent iphone/ipad to work? 有什么特别的方法可以阻止iphone / ipad工作吗?
Thanks. 谢谢。
you need to add cursor: pointer;
您需要添加
cursor: pointer;
style to your a
element (or catch touchstart/end events as described in the link). 风格的
a
元素(如链接描述或捕捉touchstart /结束事件)。 It is related to this issue: how-do-i-use-jquery-for-click-event-in-iphone-web-application . 这与以下问题有关: 如何在iphone网络应用程序中使用jquery进行单击事件 。
After that, it should work. 在那之后,它应该工作。 (Checked on ios simulator and it works)
(已在ios模拟器上检查并正常工作)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.