Skip to content

Commit 3607677

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 14b4581 commit 3607677

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
@@ -193,6 +193,9 @@ select.mat-input-element {
193193
right: 0;
194194
margin-top: -$arrow-size / 2;
195195

196+
// Make the arrow non-clickable so the user can click on the form control under it.
197+
pointer-events: none;
198+
196199
[dir='rtl'] & {
197200
right: auto;
198201
left: 0;

0 commit comments

Comments
 (0)