Openlayers 3无法触发Android手机上的点击事件 [英] Openlayers 3 unable to fire click event on Android mobile phone
问题描述
- 适用于Apple移动设备,台式机,Android手机Firefox和Android平板电脑Chrome浏览器
- 无法在Android手机上使用手机
- 点击并双击事件不起作用
- moveend event does fire
- 上周工作良好
证据指向Android手机上的Chrome问题,但我不确定。有没有人遇到过这个问题?你是如何解决这个问题的?
是的,这是一个已知的问题,请参阅这里的讨论细节: https://github.com/openlayers/openlayers/pull/6778
After hours of research and testing, I am experiencing a change in behavior in Openlayers 3 on Android phone devices using Chrome. The problem may be seen here: http://openlayers.org/en/latest/examples/popup.html?q=popup. Try and open the page in an Android phone in Chrome. Then try to click the map. The only way I am able to consistently receive a popup is to kind of whip my finger at the phone, touching the screen just minimally for a short period of time. Here is what I know:
- Works on Apple mobile devices, desktops, Android phone Firefox, and Android tablet Chrome
- Doesn't work on Android Chrome on a phone
- Click and double click events do not work
- moveend event does fire
- Working fine last week
The evidence points to a Chrome issue on Android phones but I am unsure. Has anyone else experienced this problem? How did you resolve this? Thanks in advance.
Yes this is a known issue please see discussion here for details: https://github.com/openlayers/openlayers/pull/6778
这篇关于Openlayers 3无法触发Android手机上的点击事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!