Got a weird one; I'm using a webview inside of a scrollviewer (so I can have a stackpanel above the webview that scrolls with it) and my solution works fine on desktop PC and tablet (using both mouse AND touch) but for some reason, on a mobile phone the page just wont scroll! No idea why. Here is what I have done:
<ScrollViewer Grid.Row="1" x:Name="theScrollViewer" HorizontalAlignment="Stretch"
ScrollViewer.VerticalScrollBarVisibility="Hidden"
HorizontalScrollBarVisibility="Disabled">
<WebView ScrollViewer.HorizontalScrollBarVisibility="Hidden"
ScrollViewer.VerticalScrollBarVisibility="Hidden"
Margin="0" x:Name="theWebView"
Height="2000"
DefaultBackgroundColor="#ff2E2E2E" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>
</ScrollViewer>
and to stop the scrolling in the webview I have added the following to the CSS loaded into the webview:
overflow-x:hidden;
overflow-y: hidden
The height property of the webview wont stay 2000; but I know for content in a scrollviewer to scroll it needs a height property. Anyway this works perfectly with mouse and touch on PCs and tablets, but on Windows 10 Mobile it just doesn't scroll.
Any ideas??