Change input style on focus
AlexMarlo opened this issue · comments
xanm commented
Github search change styles on focus.
What is the way to do this with omnibar?
xanm commented
May be we can do something like this ?
`
handleBlur = () => {
if(this.props.onBlur) {
this.props.onFocus.call();
}
setTimeout(() => this.setState({ displayResults: false }), BLUR_DELAY);
};
handleFocus = () => {
if(this.props.onFocus) {
this.props.onFocus.call();
}
this.setState({ displayResults: true });
};
`
xanm commented
Great, thanks
One more question, when i should expect this updates will be pushed to npm?