Windows Phone 8:无法滚动div来反弹 [英] Windows Phone 8: Can't get scrolling div to bounce

查看:68
本文介绍了Windows Phone 8:无法滚动div来反弹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我所知,你应该能够滚动 div s,以在Windows Phone 8的IE浏览器中获得最大的动力和反弹。



我有动力,但当到达轻弹滚动的末尾时,无法让 div 弹跳或轻扫式滚动。以下是适用于 div 的样式。我试过了,没有 pan-y 值。

  .scrollDiv {
position:absolute;
top:0;
剩下:0;
padding:13px;
overflow-x:hidden;
overflow-y:scroll;
-webkit-overflow-scrolling:touch;
-ms-scroll-chaining:none;
-ms-touch-action:pan-y;
}


解决方案

在我的情况下,这有助于:

-autohiding,滚动条;


I understand that you are supposed to be able to get scrolling divs to have momentum and bounce at their extreme ends in IE on Windows Phone 8.

I have momentum, but I can't get the div to bounce when it reaches the end of a "flick scroll" or swipe-style scroll. Here's the style applied to the div. I've tried it with and without the pan-y value.

.scrollDiv {
    position:absolute; 
    top:0; 
    left:0; 
    padding: 13px;
    overflow-x:hidden; 
    overflow-y:scroll;
    -webkit-overflow-scrolling: touch;
    -ms-scroll-chaining: none;
    -ms-touch-action: pan-y;
}

解决方案

I had a similar problem on Windows Phone 8. In my case this helped:

-ms-overflow-style: -ms-autohiding-scrollbar;

这篇关于Windows Phone 8:无法滚动div来反弹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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