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

Compatibility with input element? #472

Closed
AlexDanault opened this issue Feb 24, 2017 · 1 comment
Closed

Compatibility with input element? #472

AlexDanault opened this issue Feb 24, 2017 · 1 comment

Comments

@AlexDanault
Copy link

Hi !

The doc says this lib is compatible with textarea and contenteditable, but I need it on a regular input (type=text).

At first everything seems to run perfectly fine (fiddle: http://jsfiddle.net/r59oty6c/ ) but I am wondering if I'm going to run into some trouble in the long run ?

I found it weird that the doc doesn't state support for inputs.

Thanks !

@ichord
Copy link
Owner

ichord commented Mar 1, 2017

The problem is if the input's content is too long, and you have to scroll, the autocomplete's position will be wired.
And I think autocomplete right under the input will be the batter interaction for short input, so that I didn't state that.

@ichord ichord closed this as completed Mar 1, 2017
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

2 participants