Skip to content

RadioButton not selected when clicking on the row (width: 100%) #14894

Closed
@NBAMj

Description

@NBAMj

What is the expected behavior?

Clicking on the row should select the radio button when row width: 100%

Check the img below
kapture 2019-01-20 at 12 13 29

What is the current behavior?

Clicking anywhere on the row does not select the radio button. However, it ads the class cdk-focused and cdk-touch-focused

What are the steps to reproduce?

Angular Material Docs: https://material.angular.io/components/radio/examples

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

7.2.1

Is there anything else we should know?

Adding full width on the encapsulated label should do the job.
I can add a PR if it's accepted.

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions