PointerEvents/TouchAction

From W3C Wiki
Jump to: navigation, search

The following is a summary of what happens when swiping vertically and horizontally in a variety of iOS applications. This list serves as a set of use cases which should be easily solvable with Pointer Events, while still allowing native scrolling/panning where possible.


Messages / Contacts / Notes / Phone

  • Vertical Swipe: Scroll through messages.
  • Horizontal Swipe: Enable deletion.
  • Swipe Mode: First direction wins. Cannot swipe & unswipe in single action horizontally. Cannot swipe vertically in deletion mode.


Weather / Reminders

  • Vertical Swipe: Toggle hourly data.
  • Horizontal Swipe: Page through locations.
  • Swipe Mode: First direction wins. Can swipe & unswipe in single action.


Photos (zoomed)

  • Vertical Swipe: Scroll.
  • Horizontal Swipe: Scroll OR navigate.
  • Swipe Mode: Free movement in both directions. If not at edge or swipe does not start in direction of adjacent photo, cannot navigate.


App Store

  • Vertical Swipe: Scroll.
  • Horizontal Swipe: Navigate through screenshots.
  • Swipe Mode: First direction wins. Horizontal swipe on screenshots scrolls vertically to make screenshots fullscreen.


Safari

  • Vertical Swipe: Scroll.
  • Horizontal Swipe: Scroll.
  • Swipe Mode: Free movement. Swipe in mostly straight line locks direction in place; pausing releases lock.


Toggle Button (CONTROL, NOT APP)

  • Vertical Swipe: No action.
  • Horizontal Swipe: Toggle state.
  • Swipe Mode: Always wins in both directions.