File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
components/dash-core-components/src Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export default function Dropdown({
23
23
optionHeight = 36 ,
24
24
// eslint-disable-next-line no-magic-numbers
25
25
maxHeight = 200 ,
26
- closeOnSelect = true ,
26
+ closeOnSelect = ! multi ,
27
27
// eslint-disable-next-line @typescript-eslint/no-unused-vars
28
28
persisted_props = [ PersistedProps . value ] ,
29
29
// eslint-disable-next-line @typescript-eslint/no-unused-vars
Original file line number Diff line number Diff line change 1
1
.dash-dropdown {
2
+ box-sizing : border-box;
2
3
margin : calc (var (--Dash-Spacing ) * 2 ) 0 ;
3
4
}
4
5
30
31
background : inherit;
31
32
padding : 6px 12px ;
32
33
width : 100% ;
33
- height : 32px ;
34
+ min-height : 32px ;
35
+ height : 100% ;
34
36
cursor : pointer;
35
37
font-size : inherit;
36
38
overflow : hidden;
69
71
.dash-dropdown-value-count ,
70
72
.dash-dropdown-trigger-icon {
71
73
color : var (--Dash-Text-Strong );
74
+ fill : var (--Dash-Text-Strong );
72
75
white-space : nowrap;
73
76
justify-self : end;
74
77
}
Original file line number Diff line number Diff line change @@ -468,6 +468,8 @@ const Dropdown = (props: DropdownProps) => {
468
468
e . preventDefault ( ) ;
469
469
handleClear ( ) ;
470
470
} }
471
+ title = "Clear selection"
472
+ aria-label = "Clear selection"
471
473
>
472
474
< Cross1Icon />
473
475
</ a >
You can’t perform that action at this time.
0 commit comments