Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change input style on focus #34

Closed
AlexMarlo opened this issue Apr 3, 2019 · 4 comments
Closed

Change input style on focus #34

AlexMarlo opened this issue Apr 3, 2019 · 4 comments

Comments

@AlexMarlo
Copy link
Contributor

Github search change styles on focus.
What is the way to do this with omnibar?

@AlexMarlo
Copy link
Contributor Author

AlexMarlo commented Apr 3, 2019

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 });
};
`

@vutran
Copy link
Owner

vutran commented Apr 3, 2019

Merged in #35

@vutran vutran closed this as completed Apr 3, 2019
@AlexMarlo
Copy link
Contributor Author

Great, thanks
One more question, when i should expect this updates will be pushed to npm?

@vutran
Copy link
Owner

vutran commented Apr 3, 2019

v2.2.0 is now up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants