nkbt / react-debounce-input

React component that renders Input with debounced onChange
MIT License
450 stars 61 forks source link

Problem with onBlur #157

Closed JohnKucharsky closed 1 year ago

JohnKucharsky commented 1 year ago

onBlur triggers on mount

nkbt commented 1 year ago

Please submit code sandbox with the issue

JohnKucharsky commented 1 year ago

When i created codesandbox everything worked. The problem was with autofocus. I don't know why it works in codesandbox, but doesn't work in my component(mui drawer). I want to focus on input when drawer opens

nkbt commented 1 year ago

How do you think I could help if it is not possible to reproduce outside of your own app?

JohnKucharsky commented 1 year ago

Of course it's not possible