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

Width of the suggestion list #67

Open
kiru opened this issue Mar 3, 2018 · 1 comment
Open

Width of the suggestion list #67

kiru opened this issue Mar 3, 2018 · 1 comment

Comments

@kiru
Copy link

kiru commented Mar 3, 2018

Is it possible to change the width of the suggestion list?

See here: https://codepen.io/anon/pen/vdMdxB

If you start to type "Aus" then I want to see the full value:

image

I see that the width is same as the input text field width: https://github.com/Pixabay/JavaScript-autoComplete/blob/master/auto-complete.js#L68

Is there any specific reason for that? ( how can I overwrite that? )

@MakoSipper
Copy link

MakoSipper commented Nov 29, 2018

It's been a while, but I had this issue as well and the workaround was adding this to my css:

.autocomplete-suggestion { width: unset; }

I couldn't figure out where it was inheriting something else from, though. Anyway, maybe it can help someone in the future.

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