Hi,
In my application, I've an autosuggest at the bottom of the page, and when suggestions are displayed it requires the users to scroll down. It can be hard for some users to realise that the suggestions are displayed down the page, and also, when they scroll the page is completely empty (only the suggestions are displayed) as there's no more content.
Could it be possible to add an option to open the autosuggest upwards instead of downwards?
Many thanks for this awesome component!
Hey @sogame
There might be some other things that you need to consider when doing this, but to get the desired effect you can just use some simple CSS.
.react-autosuggest__suggestions-container--open {
top: auto;
bottom: 100%;
}
Most helpful comment
Hey @sogame
There might be some other things that you need to consider when doing this, but to get the desired effect you can just use some simple CSS.
Pen here https://codepen.io/adack123/pen/VWdVJr.