Windows Phone 8.1 的 WebBrowser Control 忽略 MSGestureHold [英] MSGestureHold is ignored by WebBrowser Control for Windows Phone 8.1

查看:19
本文介绍了Windows Phone 8.1 的 WebBrowser Control 忽略 MSGestureHold的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在更新我的浏览器应用以支持 Windows Phone 8.1,但我注意到 MSGestureHold 事件未引发.

I am updating my browser app to support Windows Phone 8.1 and I noticed the MSGestureHoldevent is not raised.

要重现此错误,

  1. 下载 MS 迷你浏览器示例.
  2. 在 Visual Studio 2013 中将项目升级到 WP8.1 项目并添加 IsScriptEnabled="True".
  3. 在 WP8.1 模拟器或设备上运行项目
  4. 导航到此触摸和鼠标示例.
  5. 向下滚动到示例 1:处理保持手势 部分和 点击 IE11 用户测试.
  1. Download the MS Mini-browser Sample.
  2. Upgrade the project to WP8.1 project in Visual Studio 2013 and add IsScriptEnabled="True".
  3. Run the project on WP8.1 emulator or device
  4. Navigate to this touch and mouse example.
  5. 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

  1. 适用于 WP8 和 WP8.1 的默认 Windows Phone Internet Explorer 应用
  2. WP8 应用中的 WebBrowser 控件.

这是一个错误吗?

推荐答案

我猜这是 WebBrowser 控件的错误.

I guess this is the WebBrowser control's bug.

我使用 WP8.1 的 WebBrowser 控件测试了几个手势事件,例如 pointerdownMSGestureHoldMSGestureChangeMSGestureTap.最后,pointerdownMSGestureChangeMSGestureTap可以正常触发,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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆