-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Back/Forward navigation don't work as expected for iframe navigations #1492
Comments
Hey @Desz5 - I just tried this in a sample app and it works fine for me. It's possible that you can't navigate forwards if it's just a frame navigation. Are you getting a "NavigationCompleted" event? Does this work if you navigate to top-level sites? |
Hey @champnic - top-level navigation works. But when i'm testing on a page that has a frame i can't go forward. |
@Desz5 Thanks for confirming! If you load that page in Edge or Chrome do you get a similar behavior, or does it let you do a forward navigation just for the frame? It's possible that WebBrowser (based on the Internet Explorer engine) and WebView2 (based on Chromium) have different notions about going forwards and backwards. |
@champnic if i load that page in Edge or Chrome i can do forward navigation just for the frame. Thank you! |
Do you have a sample page or website that exhibits this behavior that I can try out? |
It's called Exact, you need to login to get access. We use it at work. It's a website that uses a top frame and a bottom frame and the top frame remains steady, and the bottom frame navigates. Here's a screenshot if that helps: https://www.exact.com/images/Releases/2019/spring/afronden-naar-standaard-seriegrootte.jpg Thank you! |
@Desz5 I was able to reproduce the issue. I'm going to change this to a bug and open it on our backlog. Thanks! |
Thank you! |
This is fixed in runtimes 100.0.1163.0+. Thanks! |
Hello,
I'm using VB.NET and Winforms and i'm trying to go forward in WebView2, i can go back but it doesn't allow me to navigate forward.
The page that i'm navigating has frames.
I've put the following code in the HistoryChanged event, the SourceChanged event and in the FrameNavigationCompleted event.
The event always returns 'no' even if i can goforward using ALT+Right.
and when i call WebView_Browser1.goForward() it never works.
Everything is working great with goBack.
With Edge i can navigate forward and back.
Am i doing something wrong or is this a bug?
Thank you!
AB#34509102
The text was updated successfully, but these errors were encountered: