Bug 247084
| Summary: | [iOS] WKWebView's back gesture doesn't work with Stage Manager | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ali Juma <ajuma> |
| Component: | WebKit API | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | Normal | CC: | achristensen, bdakin, thorton, wenson_hsieh |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ali Juma
With Stage Manager enabled in iOS 16.1, WKWebView's back swipe gesture (the gesture that you get by setting WKWebView.allowsBackForwardNavigationGestures to YES) doesn't work, since swiping from the left edge brings up the Stage Manager UI instead.
This does work in Safari though, where swiping from the left edge shows the previous page and also exposes an arrow-like UI element for triggering Stage Manager's UI.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Tim Horton
Apps can get the double-swipe behavior by adopting `preferredScreenEdgesDeferringSystemGestures` on UIViewController.