Skip to content

Refuse swipe split-view-exit when the app already fills the lit panel #5105

Backlog

Description

@thymikee

Follow-up from #5102 review.

gesture swipe split-view-exit drags from the Split View divider (display center) to the left edge. When the device is not in Split View (the bound app window already fills the lit inner panel), that drag lands on app content instead and is dispatched as an ordinary pan.

Proposal: in the Split View plan path (packages/gestures/src/gesture-plan.ts, buildSplitViewPlan, or the Apple-side check in packages/platform-apple/src/foldable/split-view.ts), refuse split-view-exit with UNSUPPORTED_OPERATION / split_view_unavailable (or a dedicated not-in-split reason) and dispatched: 'no' when the app window frame equals the lit panel surface. Keep it cheap: reuse the viewport reads the gesture already performs.

Acceptance: on an open iPhone Duo simulator with one app full screen, swipe split-view-exit refuses before any touch. With two apps in Split View it still exits.

Activity

  1. apex-sentinel-staging commented on Nov 25, 2026

    @apex-sentinel-staging

    Apex Sentinel · Issue review

    Suggested label: feature

    The issue proposes adding a guard so swipe split-view-exit returns a refusal/error when the app already fills the lit panel, rather than letting the drag become a normal pan.

  2. added
    bug
    on Nov 26, 2026
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

    bugready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions