dotnet/maui

WebView NavigationEvent is NewPage for Back or Forward

Open

#9,875 opened on 2022年9月2日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)C# (1,951 forks)batch import
area-controls-webviewgood first issuepartner/syncfusionplatform/windowss/triageds/verifiedt/bug

Repository metrics

Stars
 (23,245 stars)
PR merge metrics
 (平均マージ 47d 9h) (30d で 248 merged PRs)

説明

Description

WebNavigatingEventArgs.NavigationEvent is NewPage when navigating Back or Forward, instead of Back or Forward.

Steps to Reproduce

Add breakpoint on the following line in MainPage.xaml.cs

if (e.NavigationEvent == WebNavigationEvent.Back || e.NavigationEvent == WebNavigationEvent.Forward)

Start App.

Choose "Load Html" from Picker.

Right-click in WebView. Choose "Back". WebNavigatingEventArgs.NavigationEvent is NewPage.

Right-click in WebView. Choose "Forward". WebNavigatingEventArgs.NavigationEvent is NewPage.

Link to public reproduction project repository

https://github.com/bobahop/MauiBugReport

Version with bug

6.0.400

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

net6.0-windows10.0.19041.0

Did you find any workaround?

No response

Relevant log output

No response

コントリビューターガイド