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

Providing own methods for onblur and onfocus does not work for Search component #330

Closed
hkot1991 opened this issue May 28, 2020 · 1 comment · Fixed by #331
Closed

Providing own methods for onblur and onfocus does not work for Search component #330

hkot1991 opened this issue May 28, 2020 · 1 comment · Fixed by #331
Assignees
Labels
🐛 bug Something isn't working 💡 feature request

Comments

@hkot1991
Copy link

Is your feature request related to a problem? Please describe.
Providing your own methods for onblur and onfocus does not work for the search component.
onKeyDown and onChange works as expected

Describe the solution you'd like
Would like it to be possible to provide you own methods for onblur and onfocus for the search component

Describe alternatives you've considered
Attaching event listeners to the input ref used by the search component gives me the desired effect, but this seems to be a bit of an overkill

@mimarz
Copy link
Contributor

mimarz commented May 28, 2020

Thanks for reporting this! Can confirm this is a bug 😅

I have made a fix #331 so it'll be pushed out hopefully soon 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working 💡 feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants