jQuery / HTML5 / gwt app for WP8 (Lumia 920) device: vertical css scroll fix

后端 未结 1 423
盖世英雄少女心
盖世英雄少女心 2021-01-16 21:13

Problem:

I try to fix this phenomenom about scrolling out of app boundaries:

\"scroll

相关标签:
1条回答
  • 2021-01-16 21:30

    The success story was to apply the Approach #1 so, that you mark to css instead

     div.wp8ScrollFix {
        -ms-touch-action: none;
     }
    

    and give class="wp8ScrollFix" to the main div on pages, where you don't want the pan to happen.

    This is new to IE10 browsers and there can be a check

    @if user.agent ie10 {
    
    }
    

    around the fix in css file, which applies this to ie10 only.

    0 讨论(0)
提交回复
热议问题