webscopeio / react-textarea-autocomplete

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

fix: suggestion position is wrong #231

Closed jwtong closed 2 years ago

jwtong commented 2 years ago

Dropdown only goes upwards if there's enough room to the top of the container to place it entirely. If the dropdown would overflow both the top and bottom of the container, then default to overflow the bottom so that you can see the first item.

fix #209

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

jukben commented 2 years ago

Hey! Thank you so much for your PR!

Here is the playground for this revision 🚀

I hope everything is fine! ❤️

This message has been generated automagically

jukben commented 2 years ago

Thanks for the contribution!