简体   繁体   中英

Disable Browser Rubber Band effect in Windows Phone 8 HTML5 App?

Does anyone know of a way to disable the "Rubber Band" effect in the IE10 browser on a Windows Phone 8 device? I tried a trick where I can create a high DIV and absolutely position it and then try and fix the position of the main content div, but IE10 seems to ignore that. It's hard to make an HTML5 app feel like an app when it giggles everywhere...

尝试为身体添加-ms-touch-action:none,如下所示:

<style type="text/css">body {{-ms-touch-action:none; }}</style>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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