Windows Phone 8: Can't get scrolling div to bo

2019-05-20 09:27发布

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;
}

1条回答
smile是对你的礼貌
2楼-- · 2019-05-20 10:03

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

-ms-overflow-style: -ms-autohiding-scrollbar;
查看更多
登录 后发表回答