File tree 1 file changed +1
-2
lines changed
arduino-ide-extension/src/browser/components/component-list
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export class FilterableListContainer<T extends ArduinoComponent> extends React.C
20
20
} ;
21
21
}
22
22
23
- componentWillMount ( ) : void {
23
+ componentDidMount ( ) : void {
24
24
this . search = debounce ( this . search , 500 ) ;
25
25
this . handleFilterTextChange ( '' ) ;
26
26
this . props . filterTextChangeEvent ( this . handleFilterTextChange . bind ( this ) ) ;
@@ -33,7 +33,6 @@ export class FilterableListContainer<T extends ArduinoComponent> extends React.C
33
33
}
34
34
35
35
render ( ) : React . ReactNode {
36
- this . props . container . update ( ) ; // This will recalculate the desired dimension of the scroll-bar thumb. (See: arduino/arduino-pro-ide#101)
37
36
return < div className = { 'filterable-list-container' } >
38
37
{ this . renderSearchFilter ( ) }
39
38
{ this . renderSearchBar ( ) }
You can’t perform that action at this time.
0 commit comments