Skip to content

bug(Radio): Option is not selected when clicked while only partially visible. #19397

Closed
@shesharino

Description

@shesharino

Reproduction

https://stackblitz.com/edit/components-issue-jfex36

Steps to reproduce:

  1. Scroll down so that the radio buttons are partially visible, like:
    image

  2. Click on any radio option.

Expected Behavior

The clicked option should be selected even if it's not fully visible.

Actual Behavior

The screen scrolls down and makes the clicked option fully visible, but does not select it.

Environment

  • Angular: 9.0.2.
  • CDK/Material: 9.1.0.
  • Browser: Google Chrome Version 81.0.4044.138 (Official Build) (64-bit).
  • Operating System: Windows 10 Enterprise Version 1809 (OS Build 17763.1217).

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/radio

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions