mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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.
This commit is contained in:
committed by
Joey Perrott
parent
14b4581036
commit
3607677939
@@ -193,6 +193,9 @@ select.mat-input-element {
|
||||
right: 0;
|
||||
margin-top: -$arrow-size / 2;
|
||||
|
||||
// Make the arrow non-clickable so the user can click on the form control under it.
|
||||
pointer-events: none;
|
||||
|
||||
[dir='rtl'] & {
|
||||
right: auto;
|
||||
left: 0;
|
||||
|
||||
Reference in New Issue
Block a user