Closed jukben closed 5 years ago
close #112
Breaking change 💣 I've completely removed closeOnClickOutside prop because it can't be combined together with the new behavior of events. Also, I think it should be like that as default.
closeOnClickOutside
If you do something like this
<ReactTextareaAutocomplete onKeyDown={e => { console.log(`pressed "${e.key}"`); }} ... />
the onKeyDown now ignores every event happening in the context of autocomplete. Open the playground, play with it and check the console. 👍
onKeyDown
autocomplete
(bot)
Hey! Thank you so much for your PR! I can see that everything is green 👏.
Here is the playground for this revision 🚀
I hope everything is fine! ❤️
close #112
Breaking change 💣 I've completely removed
closeOnClickOutside
prop because it can't be combined together with the new behavior of events. Also, I think it should be like that as default.What it does
If you do something like this
the
onKeyDown
now ignores every event happening in the context ofautocomplete
. Open the playground, play with it and check the console. 👍