File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 4444 (#14385). Putting a click handler on the <label/> caused this bug because the browser produced
4545 an unnecessary accessibility tree node.
4646 -->
47- < label #label
47+ < label class ="mdc-label "
48+ #label
4849 [for] ="inputId ">
4950 < ng-content > </ ng-content >
5051 </ label >
Original file line number Diff line number Diff line change 2525 < div class ="mat-ripple-element mat-radio-persistent-ripple "> </ div >
2626 </ div >
2727 </ div >
28- < label [for] ="inputId ">
28+ < label class =" mdc-label " [for] ="inputId ">
2929 < ng-content > </ ng-content >
3030 </ label >
3131</ div >
Original file line number Diff line number Diff line change 4747 Clicking on the label will trigger another click event from the button.
4848 Stop propagation here so other listeners further up in the DOM don't execute twice.
4949 -->
50- < label [for] ="buttonId " [attr.id] ="_labelId " (click) ="$event.stopPropagation() ">
50+ < label class =" mdc-label " [for] ="buttonId " [attr.id] ="_labelId " (click) ="$event.stopPropagation() ">
5151 < ng-content > </ ng-content >
5252 </ label >
5353</ div >
You can’t perform that action at this time.
0 commit comments