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 problem #332

Open
battlealita opened this issue Feb 13, 2018 · 2 comments
Open

width problem #332

battlealita opened this issue Feb 13, 2018 · 2 comments

Comments

@battlealita
Copy link

Hi, I have the EasyAutocomplete in a Div, like a popup but the width didnt work. The ul acept just 1 character per line.
sin titulo

@adarshmadrecha
Copy link

can you share your code? Also, try posting your question on StackOverflow. Then link that question to this post.

@schroef
Copy link

schroef commented Apr 16, 2018

I had the same thing. easyComplete changes all settings of that input field. So you need to either overrule or give it a valid width in pixels. It also check the width if the input type. So if nothing is set, it gets some kind value hardcoded. I and sets this as the width, the problem is, that should be 100% or auto i believe.

I also found a issue with the main class. It uses PX and i tried fixing the core code by adding auto or 100% to the main DIV its creates and this fixes it for mobile.

But im by far no code guru or whatever.

You can see my example here www.promotiespullen.com Ive implemented it on a couple places. I used a custom setup with images and links. The links it generates are taken from the search query

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

3 participants