Skip to content

[KS][KEY] Return on Button styles with controls disabled navigates to All screens #371

Closed

Description

@sethwebster

Part of #15. Found while doing #350.

Problem

On Native controls > Button styles, check "Disable controls" with a driver click on its box (tapOn: { point: "4%,50%", within: { id: native-controls-buttons-disabled } }), wait until the page is disabled, then pressKey: Enter. The Kitchen Sink leaves the screen and shows All screens (the catalog). Reproduced in English, light, on the driver backend, with and without the React Native Pressables #350 adds to the screen.

The default button is disabled at that point, so Return is not its key equivalent. Something else handles it and navigates: possibly a focused shell control such as the breadcrumb's "All screens" link. Which view has focus, and why, isn't known yet.

Acceptance

  • Find which view handles Return there and why it has focus.
  • Return on a screen whose default button is disabled does not navigate, or the behavior is documented as intended.
  • A flow covers it.

Activity

  1. added
    bugSomething isn't working
    sparkLegend Spark desktop framework
    kitchen-sinkKitchen Sink verification app
    release-gateBlocks releases until verified
    type:taskAgent-sized unit of work
    kind:uiComponent/flourish implementation + flows
    area:inputKeyboard, pointer, text input
    on Oct 12, 2026
  2. sethwebster commented on Oct 12, 2026

    @sethwebster
    CollaboratorAuthor

    Landed in #379: driver restores the first responder after ordering a window in, so the sidebar's All screens Pressable no longer takes Return/Space; buttons-return-disabled flow.

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

    area:inputKeyboard, pointer, text inputbugSomething isn't workingkind:uiComponent/flourish implementation + flowskitchen-sinkKitchen Sink verification appplatform:macosmacOS-specificpriority:p2Laterrelease-gateBlocks releases until verifiedsparkLegend Spark desktop frameworktype:taskAgent-sized unit of work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions