Hello,
I have a document in docs from Google , when page it is opening it is downloading with a progress bar and showing in a Webview.
For so far so good.
But when i make the document longer then one page it is only showing the first page ? and i can't scroll to the next page nr 2
<ContentPage.Content>
<local:PinchToZoomContainer>
<local:PinchToZoomContainer.Content>
<ScrollView>
<StackLayout>
<ProgressBar Progress="0.2"
HorizontalOptions="FillAndExpand"
x:Name="progress"
ProgressColor="Maroon"
IsVisible="True"/>
<WebView x:Name="Webview"
HeightRequest="1000"
WidthRequest="1000"
Navigating="OnNavigating"
Navigated="OnNavigated"
VerticalOptions="FillAndExpand"/>
</StackLayout>
</ScrollView>
</local:PinchToZoomContainer.Content>
</local:PinchToZoomContainer>
</ContentPage.Content>
`
`public Nieuwsbrief()
{
InitializeComponent();
Webview.Source = "https://docs.google.com/document/d/1JtPBbacWjjE1RnqT7MlliexLFk618iNS5yUBBCkh1bs/edit?usp=sharing";
}
protected async override void OnAppearing()
{
base.OnAppearing();
await progress.ProgressTo(0.9, 900, Easing.SpringIn);
}
protected void OnNavigating(object sender, WebNavigatingEventArgs e)
{
progress.IsVisible = true;
}
protected void OnNavigated(object sender, WebNavigatedEventArgs e)
{
progress.IsVisible = false;
}
}`