File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export class FormSelect extends Component<FormSelectOptions> {
54
54
...FormSelect . defaults ,
55
55
...options
56
56
} ;
57
-
57
+
58
58
this . isMultiple = this . el . multiple ;
59
59
this . el . tabIndex = - 1 ;
60
60
this . _values = [ ] ;
@@ -276,7 +276,7 @@ export class FormSelect extends Component<FormSelectOptions> {
276
276
const userOnOpenEnd = dropdownOptions . onOpenEnd ;
277
277
const userOnCloseEnd = dropdownOptions . onCloseEnd ;
278
278
// Add callback for centering selected option when dropdown content is scrollable
279
- dropdownOptions . onOpenEnd = ( el ) => {
279
+ dropdownOptions . onOpenEnd = ( ) => {
280
280
const selectedOption = this . dropdownOptions . querySelector ( '.selected' ) ;
281
281
if ( selectedOption ) {
282
282
// Focus selected option in dropdown
@@ -299,7 +299,7 @@ export class FormSelect extends Component<FormSelectOptions> {
299
299
userOnOpenEnd . call ( this . dropdown , this . el ) ;
300
300
} ;
301
301
// Add callback for reseting "expanded" state
302
- dropdownOptions . onCloseEnd = ( el ) => {
302
+ dropdownOptions . onCloseEnd = ( ) => {
303
303
this . input . ariaExpanded = 'false' ;
304
304
// Handle user declared onOpenEnd if needed
305
305
if ( userOnCloseEnd && typeof userOnCloseEnd === 'function' )
You can’t perform that action at this time.
0 commit comments