视频反弹在windows phone 8 [英] Webview bounce in windows phone 8

查看:158
本文介绍了视频反弹在windows phone 8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要知道是否有任何方式,我可以控制webview bouncing属性在Windows 8.我尝试过 -ms-touch-action:none; 停止弹跳,但它会禁用应用程序中的整个滚动。

I need to know if there is any way I can control the webview bouncing property in windows 8.I have tried -ms-touch-action: none; it does stop the bouncing but it disables the whole scrolling in the App.

我尝试了以下操作,但是这些不工作: -

I have tried the following but these doesn't work:-

<meta name="msapplication-tap-highlight" content="no" />



  backface-visibility:hidden;
   -webkit-backface-visibility:hidden;
   overflow: hidden;
   -ms-content-zooming: none;

所以,请让我知道如果有其他方法控制反弹? .Thanks

So please let me know if there is any other methods for controlling the bounce?Any help would be appreciated.Thanks

推荐答案

此解决方案基于Windows Xaml项目。

 public MainPage()
    {
        InitializeComponent();
        this.CordovaView.DisableBouncyScrolling = true;
        //Splash_Screen();
    }



我已经在我的C#类文件中添加了这个。工作完美

I have added this in my C# class file. Works perfect

使用最新cordova 2.5 +

use latest cordova 2.5+

您还可以按照此解决方案控制CSS中的网页视图弹跳:

链接:http://stackoverflow.com/a/20974644/1848109

这篇关于视频反弹在windows phone 8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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