Skip to content

Pager: record the swipe and trackpad proofs on physical devices #9335

Open

Description

@vjeux

Follow-up to #8146.

#8146's pager is verified by usePager.interaction.browser.spec.ts in CI's interaction lanes (Chromium, and WebKit for the trackpad cases) and by clips from the iOS 26.2 simulator in Mobile Safari and the Android 15 emulator in Chrome. spec:AST-094's platform support asks for real-device evidence for every claim about iOS Safari and Android Chrome behavior, and the trackpad cases run on synthetic wheel input.

This is the real-device capture plan for the same proofs:

  • an iPhone in Safari: a slow drag past and before half a page, a short flick, the rubber band at the first page, goTo, a still finger stopping a settle and a drag catching it, a 600 ms main-thread block after the lift, right-to-left paging, and an unpainted page sliding in under a block;
  • an Android phone in Chrome: a slow drag and a flick;
  • Carousel's paging (feat(core): Carousel's hasSnap takes useSnapPaging(), iOS paging on native snap's stops #8153), which runs this pager, on the same two phones: a flick and a slow drag in its Paging story, and Next on the last page in Paging (Loop);
  • a physical trackpad in Safari and Chrome: a horizontal swipe pages one page, a short swipe returns to its page, and back-to-back swipes page on;
  • the device models and the OS and browser versions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions