Windows Phone 8.1 的 WebBrowser Control 忽略 MSGestureHold [英] MSGestureHold is ignored by WebBrowser Control for Windows Phone 8.1
问题描述
我正在更新我的浏览器应用以支持 Windows Phone 8.1,但我注意到 MSGestureHold
事件未引发.
I am updating my browser app to support Windows Phone 8.1 and I noticed the MSGestureHold
event is not raised.
要重现此错误,
- 下载 MS 迷你浏览器示例.
- 在 Visual Studio 2013 中将项目升级到 WP8.1 项目并添加
IsScriptEnabled="True"
. - 在 WP8.1 模拟器或设备上运行项目
- 导航到此触摸和鼠标示例.
- 向下滚动到
示例 1:处理保持手势
部分和 点击 IE11 用户测试.
- Download the MS Mini-browser Sample.
- Upgrade the project to WP8.1 project in Visual Studio 2013 and add
IsScriptEnabled="True"
. - Run the project on WP8.1 emulator or device
- Navigate to this touch and mouse example.
- Scroll down to the
Sample 1: handling the hold gesture
section and click the IE11 users test.
请注意 MSGestureHold
不起作用.
但是在测试时该项目正在运行
However the project is working when tested in
- 适用于 WP8 和 WP8.1 的默认 Windows Phone Internet Explorer 应用
- WP8 应用中的 WebBrowser 控件.
这是一个错误吗?
推荐答案
我猜这是 WebBrowser 控件的错误.
I guess this is the WebBrowser control's bug.
我使用 WP8.1 的 WebBrowser 控件测试了几个手势事件,例如 pointerdown、MSGestureHold、MSGestureChange 和 MSGestureTap.最后,pointerdown、MSGestureChange和MSGestureTap可以正常触发,MSGestureHold除外.所以我猜这是一个错误.
I test several gesture events with WebBrowser control for WP8.1, such as pointerdown,MSGestureHold,MSGestureChange,and MSGestureTap. Finally, pointerdown, MSGestureChange and MSGestureTap can be triggered normally,except MSGestureHold. So I guess this is a bug.
这篇关于Windows Phone 8.1 的 WebBrowser Control 忽略 MSGestureHold的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!