mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-27 05:06:42 +00:00
Resolved a React warning.
Removed the widget update due to an incorrect manual merge. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
c7bb3abf19
commit
6448b447b3
@ -20,7 +20,7 @@ export class FilterableListContainer<T extends ArduinoComponent> extends React.C
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillMount(): void {
|
componentDidMount(): void {
|
||||||
this.search = debounce(this.search, 500);
|
this.search = debounce(this.search, 500);
|
||||||
this.handleFilterTextChange('');
|
this.handleFilterTextChange('');
|
||||||
this.props.filterTextChangeEvent(this.handleFilterTextChange.bind(this));
|
this.props.filterTextChangeEvent(this.handleFilterTextChange.bind(this));
|
||||||
@ -33,7 +33,6 @@ export class FilterableListContainer<T extends ArduinoComponent> extends React.C
|
|||||||
}
|
}
|
||||||
|
|
||||||
render(): React.ReactNode {
|
render(): React.ReactNode {
|
||||||
this.props.container.update(); // This will recalculate the desired dimension of the scroll-bar thumb. (See: arduino/arduino-pro-ide#101)
|
|
||||||
return <div className={'filterable-list-container'}>
|
return <div className={'filterable-list-container'}>
|
||||||
{this.renderSearchFilter()}
|
{this.renderSearchFilter()}
|
||||||
{this.renderSearchBar()}
|
{this.renderSearchBar()}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user