locked
Webview not scrolling inside of Frame RRS feed

  • Question

  • User379408 posted

    The following code prevents the WebView from scrolling a Xamarin forms application running in UWP

    <ContentPage.Content>
        <Frame >
            <Grid >
                <WebView Source="I can not post link put your address here" VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand"/>
            </Grid>
        </Frame>
    </ContentPage.Content>
    

    Where code without the frame works fine.

    <ContentPage.Content>
            <Grid >
                <WebView Source="can not post links put your web address here" VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand"/>
            </Grid>
    

    Any ideas on how to resolve or work around this without removing the frame? Is there something I am missing or is this a bug?

    Friday, November 9, 2018 3:55 AM

All replies

  • User369979 posted

    Try to add an outline color to this frame to enable this webView's interaction:

    <ContentPage.Content>
        <Frame OutlineColor="White">
            <Grid >
                <WebView Source="https://www.microsoft.com" VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand"/>
            </Grid>
        </Frame>
    </ContentPage.Content>
    
    Monday, November 12, 2018 9:28 AM
  • User383899 posted

    can confirm OutlineColor="White" worked in my case. thx!

    Tuesday, March 26, 2019 4:41 AM