Is your feature request related to a problem? Please describe.
Hi, I’m building a wails app that has a few pages and instinctively try to use Mac’s two finger swipe gesture to go back/forward. This gesture navigation does not work on the default WKWebView.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Is your feature request related to a problem? Please describe.
Hi, I’m building a wails app that has a few pages and instinctively try to use Mac’s two finger swipe gesture to go back/forward. This gesture navigation does not work on the default WKWebView.
Describe the solution you'd like
It looks like there's a property for this on WKWebView instances: allowsBackForwardNavigationGestures. https://developer.apple.com/documentation/webkit/wkwebview/1414995-allowsbackforwardnavigationgestu
Of course, a general purpose way to set WKWebView properties would also work :)
Describe alternatives you've considered
Doing something like this in javascript is possible, but even then it would feel "off" because the native feature has some subtleties.
Additional context
No response