Closed O4epegb closed 5 years ago
Escape key is not propagated when autocomplete is closed.
I think it might be because there is 2 listeners for Escape in Textarea.jsx and second one is never destroyed.
Textarea.jsx
This one is probably unnecessary https://github.com/webscopeio/react-textarea-autocomplete/blob/master/src/Textarea.jsx#L254
If that is the case I might make a PR :)
Oh, sorry - I did a wrong rebase, you are right, that one is unnecessary! Could you please push PR for it? 👍
Sure, going to make it!
Closed in #118. Thanks for that!
Escape key is not propagated when autocomplete is closed.
I think it might be because there is 2 listeners for Escape in
Textarea.jsx
and second one is never destroyed.This one is probably unnecessary https://github.com/webscopeio/react-textarea-autocomplete/blob/master/src/Textarea.jsx#L254