Note that there are some explanatory texts on larger screens.

plurals
  1. POWindows8 - Metro - WebView - NavigateToString disturbs scrolling in Grid
    primarykey
    data
    text
    <p>I encountered this very disturbing bug in our Windows 8 Metro Style application.</p> <p>We have a grid consisting of three rows - A header - A listview (containing blocks that lets the user scroll horisontally) - A footer (containing a WebView that displays an ad).</p> <p>..............................................................................<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Logo<br /> ..............................................................................<br /><br /> ListView Scrolls horisontally ----------------------></p> <p>..............................................................................<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AD<br /> ..............................................................................<br /></p> <p>The problem is - when I load the content for the ad (using NavigateToString, which loads some javascript that displays an ad), the scrolling in the listview stops working (unless you use the scrollbar). I have isolated the error to this specific method - if I don't call NavigateToString, but still include the WebView - the scrolling works.</p> <p>I have tried generating the Html as a Task, and calling the method on the dispatcher, without luck.</p> <p>I have tried strange stuff, like using a DispatchtTimer to delay the loading of the ad. It works.. until the NavigateToString-method is called.</p> <p>A strange thing - the view contains a bottom-app-bar. If I show/hide this app-bar, the scrolling suddenly works. (Maybe the focus is somehow regained to the ListView when doing this specific action)..</p> <p>Any suggestions? =)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload