Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

radio-group: does not scroll into view when changed #11503

Open
@NilsAtGoogle

Description

@NilsAtGoogle

Bug

When the user changes a radio group, the radio group should be scrolled into view if it's not currently visible (i.e. mimic the behavior of standard HTML inputs).

CodePen and steps to reproduce the issue:

AngularJS material demo

Detailed Reproduction Steps:

  1. set focus on a radio group
  2. scroll out of view
  3. use keyboard up/down to change selected radio button

What is the expected behavior?

radio group is scrolled into view, so the user is aware their action has changed the input

What is the current behavior?

radio group remains off screen

What is the use-case or motivation for changing an existing behavior?

conformance with HTML input behavior

Which versions of AngularJS, Material, OS, and browsers are affected?

  • AngularJS: any
  • AngularJS Material: 1.1.10
  • OS: any
  • Browsers: Chrome, Firefox (probably all browsers)

Is there anything else we should know? Stack Traces, Screenshots, etc.

Metadata

Metadata

Assignees

Labels

P3: importantImportant issues that really should be fixed when possible.g3: reportedThe issue was reported by an internal or external product team.type: enhancement

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions