Skip to content

Commit cb057d2

Browse files
crisbetojosephperrott
authored andcommitted
fix(form-field): allow user to click through arrow on native select (#15328)
Currently the user's click could be blocked by clicking on the arrow directly. These changes allow the user to click through it. Fixes #15318.
1 parent b204a16 commit cb057d2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib/form-field/form-field-input.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ select.mat-input-element {
187187
right: 0;
188188
margin-top: -$arrow-size / 2;
189189

190+
// Make the arrow non-clickable so the user can click on the form control under it.
191+
pointer-events: none;
192+
190193
[dir='rtl'] & {
191194
right: auto;
192195
left: 0;

0 commit comments

Comments
 (0)