You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/08/25 10:50:24 UTC
[GitHub] lougreenwood opened a new issue #52: Purpose of
window.WkWebView.allowsBackForwardNavigationGestures() (or bug?)
lougreenwood opened a new issue #52: Purpose of window.WkWebView.allowsBackForwardNavigationGestures() (or bug?)
URL: https://github.com/apache/cordova-plugin-wkwebview-engine/issues/52
Related to #51
What is the intended purpose of `window.WkWebView.allowsBackForwardNavigationGestures()`?
1 - To programatically enable back/forward navigation for the app per session
2 - To programatically enable back/forward on a per-page basis
If it is indeed 2 (which I initially believed, but I now doubt...) it seems the there is a bug:
* On app entry point page `AllowBackForwardNavigationGestures = false`
* Navigate to some sub route
** Route triggers `window.WkWebView.allowsBackForwardNavigationGestures(true)`
** user can perform swipe navigation to go back... BUT
*** The page the user swipes back to is white/empty/blank....
So I'm assuming that the purpose of this feature is 1 (above), probably only tracks history when enabled and because it's enabled after a page navigation occurs there's no history of the previous page?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org