Skip to content

[iOS] Trackpad scroll gestures are not handled, impacts new macOS Sequoia iPhone Mirroring feature #153897

@cbracken

Description

@cbracken

The iOS embedder should correctly handle trackpad scroll gestures.

This has the knock-on effect that trackpad scroll gestures do not work in Flutter apps when used via iPhone Mirroring in macOS Sequoia/iOS 18.

Repro steps

  1. Create an iOS app with a scroll view.
  2. Launch on an iPad with a trackpad paired (e.g. Magic Keyboard)
  3. Use a two-finger swipe gesture to scroll.

Expected behaviour: the primary scroll view scrolls.

Actual behaviour: the scroll gesture is ignored.

Flutter doctor

[!] Flutter (Channel main, 3.25.0-1.0.pre.78, on macOS 14.6.1 23G93 darwin-arm64, locale ja-JP)
    ! Unknown upstream repository.
      Reinstall Flutter by following instructions at https://flutter.dev/setup.
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/to/macos-android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] Connected device (3 available)
    ! Error: Browsing on the local area network for iPhone15. Ensure the device is unlocked and attached with a cable or associated with the same local area network
      as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

! Doctor found issues in 3 categories.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listf: scrollingViewports, list views, slivers, etc.platform-iosiOS applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions