dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
21.99k stars 1.72k forks source link

[iOS] WebView CanGoBack/Forward doesn't update correctly #4938

Open Redth opened 2 years ago

Redth commented 2 years ago

Basically the DecidePolicy of the navigation delegate isn't getting called when clicking links within the web view, so the state of can go back/forward is not updating correctly.

jsuarezruiz commented 2 years ago

Additional Information, not happens on Catalyst. webview-catalyst

ghost commented 2 years ago

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

captain-anawat commented 11 months ago

I have same problem on Android device, too. Try to using CanGoBack on OnBackButtonPressed with test by forward some link on webview then process OnBackButtonPressed repeated. the result is CanGoBack is true/false randomly.

Zhanglirong-Winnie commented 9 months ago

Verified this issue with Visual Studio Enterprise 17.9.0 Preview 1.0. Can repro on iOS platform.