File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 7
7
}
8
8
9
9
.cloak {
10
- display : none ;
10
+ visibility : ' hidden ' ;
11
11
}
12
12
h2 .links {
13
13
font-size : 18px ;
Original file line number Diff line number Diff line change @@ -65,12 +65,8 @@ export class MultipleSelectInstance {
65
65
this . initSelected ( true ) ;
66
66
this . initFilter ( ) ;
67
67
this . initDrop ( ) ;
68
-
69
- // wait a CPU cycle for the select auto-width to return a width which is over 0
70
- setTimeout ( ( ) => {
71
- this . initView ( ) ;
72
- this . options . onAfterCreate ( ) ;
73
- } ) ;
68
+ this . initView ( ) ;
69
+ this . options . onAfterCreate ( ) ;
74
70
}
75
71
76
72
/**
@@ -793,7 +789,7 @@ export class MultipleSelectInstance {
793
789
return ;
794
790
}
795
791
// this.options.isOpen = true;
796
- setTimeout ( ( ) => ( this . options . isOpen = true ) ) ; // TODO: original code doesn't need setTimeout
792
+ setTimeout ( ( ) => ( this . options . isOpen = true ) ) ; // TODO: original code doesn't require this delay
797
793
this . parentElm . classList . add ( 'ms-parent-open' ) ;
798
794
this . choiceElm ?. querySelector ( 'div' ) ?. classList . add ( 'open' ) ;
799
795
this . dropElm . style . display = 'block' ;
You can’t perform that action at this time.
0 commit comments