Search code examples
c#xamlwindows-phone-8windows-runtimewin-universal-app

Disabling Webview vertical scrolling to keep parent element scrolling


I succeed to disable the vertical scroll in a WebView (Universal Apps, Windows Phone 8.1) thanks to the overflow:hidden CSS property.

It works well but I would like to save the parent scrolling which is a StackPanel, because if my WebView height is higher than my device screen, I can't scroll to the bottom..

Does anyone have an idea ?


Solution

  • Try to use

    html, body{
        -ms-touch-action: none;
        -ms-user-select: none;
    }
    

    Thanks