You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
In some scenarios, CanGoBack / CanGoForward don't reflect the true state, even though HistoryChanged events fire normally.
Details:
I have a UWP app with a WebView2 on the entire page. The app can accept deep links that are forwarded to the web app and handled internally as react-router navigations, so there are valid flows where the user might not interact with the app at all before the webapp changes the history backstack.
Workaround:
To get around this, I trigger some js script execution when the DOM is loaded and the issue is resolved
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
unknown
SDK Version
1.0.2210.55
Framework
WinUI2/UWP
Operating System
Xbox
OS Version
Xbox Series S 10.0.25398.2923
Repro steps
Create a WebView pointing to a local React App with route { path: "/redirect_test/:c", Component: TestRedirect },
Launch the app and wait for redirects to happen.
Property CanGoBack will always return false.
What happened?
Problem:
In some scenarios, CanGoBack / CanGoForward don't reflect the true state, even though HistoryChanged events fire normally.
Details:
I have a UWP app with a WebView2 on the entire page. The app can accept deep links that are forwarded to the web app and handled internally as react-router navigations, so there are valid flows where the user might not interact with the app at all before the webapp changes the history backstack.
Workaround:
To get around this, I trigger some js script execution when the DOM is loaded and the issue is resolved
Importance
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
unknown
SDK Version
1.0.2210.55
Framework
WinUI2/UWP
Operating System
Xbox
OS Version
Xbox Series S 10.0.25398.2923
Repro steps
Create a WebView pointing to a local React App with route
{ path: "/redirect_test/:c", Component: TestRedirect },
Launch the app and wait for redirects to happen.
Property
CanGoBack
will always return false.react component to test with:
Repros in Edge Browser
Not Applicable
Regression
Don't know
Last working version (if regression)
No response
The text was updated successfully, but these errors were encountered: