PhoneGap窗口手机页面反弹滚动 [英] Phonegap windows phone page bounces on scrolling
本文介绍了PhoneGap窗口手机页面反弹滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在开发Windows手机的手机间隙应用程序。
在应用程序启动时,当我滚动页面时,页面垂直弹跳。
我想要的页面是固定&不可滚动。
任何建议?
I am developing phone gap application for windows phone. On application launch when I scroll on page then pages bounces vertically. I want that page is fixed & non scroll-able. Any Suggestions?
推荐答案
您可以在MainPage.xaml.cs文件中添加以下代码:
You can add the following code in the MainPage.xaml.cs file:
// Constructor
public MainPage()
{
InitializeComponent();
.... // some default initialization code was here
// and disable bouncy scrolling option:
this.CordovaView.DisableBouncyScrolling = true;
}
这篇关于PhoneGap窗口手机页面反弹滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文