react-autocomplete-hint
react-autocomplete-hint copied to clipboard
Scroll the input to show the full hint when end of input box is reached
Hi,
Is your feature request related to a problem? Please describe. Some of the hints I'm using are longer than the size of the input box itself so the end of the hint gets cut off. For this particular case I can't increase the width of the input box.
Describe the solution you'd like A clear and concise description of what you want to happen. It would be great if the input box automatically "scrolled" right to show the end of the hint. I understand that the beginning of the sentence would get cut off instead, but that's okay.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. I'm currently trying to grab the hint from onHint prop and use the hint length to force scroll the input.
Additional context
Add any other context or screenshots about the feature request here.