webscopeio / react-textarea-autocomplete

📝 React component implements configurable GitHub's like textarea autocomplete.
MIT License
451 stars 80 forks source link

onBlur triggered when focusing on <textarea> #178

Closed dhruvparmar372 closed 4 years ago

dhruvparmar372 commented 5 years ago

I'm trying to use onFocus & onBlur events. It seem the onBlur event is triggered even when focusing on the <textarea element. Here is a codesandbox showing the behavior https://codesandbox.io/s/sharp-bird-ld8r4

jukben commented 5 years ago

Thanks a lot for the issue, it really look as a bug – appreciated the codesandbox! I'll take a look ASAP.

tgroutars commented 4 years ago

Any news on this?

jukben commented 4 years ago

@tgroutars Thanks for the reminder, I just fixed that. Released as 4.6.2. Enjoy and start the library ⭐️

@dhruvparmar372 See the remixed codesandbox running with 4.6.2 https://codesandbox.io/s/quirky-chaplygin-kniff 🚀