Skip to content

Allow controls to remain focusable while in disabled state #54877

@ds84182

Description

@ds84182

Internal: b/154410718

For desktop platforms (including Web), it makes sense to exclude disabled controls from directional focus.

However, if directional keys are your main form of input, this leads to confusing situations. For example, if a button gets disabled when you activate it, focus will jump to a different control.

Having a parameter to allow focusable controls to maintain focus while in a disabled state would solve this.

cc @gspencergoog @HansMuller

Metadata

Metadata

Assignees

Labels

c: new featureNothing broken; request for a new capabilityf: focusFocus traversal, gaining or losing focusframeworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions