Wp 8.1 Webview scroll with the page contents

2019-09-18 12:25发布

问题:

I used webview in my project to display html contents. But it doesn't scroll with page( scrollviewer). I have set the height of the webview to the height of the content using java script. But it doesn't scroll. I also tried this custom control. It scrolls perfectly but it doesn't allow user interaction. I can't click on links. Basically they are overlaying a Grid on webview so that it scrolls but doesn't allow interactions. Is there any way that makes webview scrolls with page contents and at the same time making links clickable? Your suggestions are welcome.