简体   繁体   English

HTML页面无法在Windows Phone 8中滚动

[英]HTML page not scrolling in windows phone 8

I am creating a hybrid app for android , IOS and windows phone and its working fine for android and IOS but for windows phone 8 the scroll is not working and i had added overflow-y:scroll property for all the HTML pages in windows but again its affecting my jquery swipe , fixed header element and popup feature. 我正在为android,IOS和Windows Phone创建一个混合应用程序,并且对于android和IOS可以正常工作,但是对于Windows Phone 8滚动无法正常工作,我为Windows中的所有HTML页面添加了溢价-y:scroll属性,但是再次它会影响我的jquery swipe,固定的标头元素和弹出功能。 Issues 1-fixed header-bouncing along with the whole page 2-Jquery swipe- not working when the page is scrolling 3-popup- showing weird opacity 发出1-固定的标题弹跳以及整个页面-2-Jquery滑动-当页面滚动时不起作用3-弹出式-显示奇怪的不透明度

Add -ms-touch-action: pan-y to body/element that needs scrolling. 添加-ms-touch-action:将pan-y添加到需要滚动的身体/元素中。 https://msdn.microsoft.com/en-in/library/windows/apps/hh767313.aspx https://msdn.microsoft.com/zh-in/library/windows/apps/hh767313.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM