Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll the input to show the full hint when end of input box is reached #50

Open
mattmiranda opened this issue Jun 14, 2022 · 0 comments

Comments

@mattmiranda
Copy link

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.
Screen Shot 2022-06-14 at 5 34 29 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant