Skip to content

ui: focus eviction and onFocus/onBlur #48

Description

@noelwelsh

Two related focus gaps:

  • Focus eviction: when the focused component becomes disabled it keeps focus; focus should move to the next focusable component.
  • onFocus/onBlur: no way to run a handler when a component gains or loses focus.

Both are effect-node features: they react to a signal change with an action, so they sit naturally on the effects machinery and were deferred to the event-queue/runtime work (#47).

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions