| Summary: | Neither preventDefault on GestureEnd nor CSS overscroll stop the Safari "Tab Expose" feature or page navigation | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jarod Gowgiel <jarod.gowgiel> |
| Component: | UI Events | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | ap, simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 15 | ||
| Hardware: | Mac (Intel) | ||
| OS: | macOS 12 | ||
|
Description
Jarod Gowgiel
2022-05-24 16:09:37 PDT
This sounds like another issue caused by Safari being in control of this UI behaviour without really knowing what's going on with the web content. After some further experimentation, it seems like calling preventDefault() on the "wheel" event fired by Safari while panning around the trackpad does prevent page navigation, but has no impact on the "Tab Expose" gesture. "overscroll-behavior: contain" still seems to not stop either type of gesture, though. When considering changes in this area, we need to keep in mind whether preventing standard browser behaviors is user friendly. It often isn’t. *** This bug has been marked as a duplicate of bug 233141 *** |