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

Great addition to chosen, but some weird styling issues #1

Open
ramieblatt opened this issue Nov 17, 2011 · 2 comments
Open

Great addition to chosen, but some weird styling issues #1

ramieblatt opened this issue Nov 17, 2011 · 2 comments

Comments

@ramieblatt
Copy link

Hi there,

First off, Great addition to chosen! I've added a comment with link to this repo, here: harvesthq/chosen#79

It works great the only issue I see is some weird styling issue, where the text field shrinks to ~4 or 5 characters as you type in a search term, so that you only see the first few letters. It happens for me if you type in a long state name on your demo page here: http://dev.meltingice.net/ajax-chosen/ using Chrome, Safari, Firefox, etc.

@evdevdev
Copy link

hey, I noticed that also. It can be fixed with a patched line to chosen.

Make line 532 of chosen.jquery.coffee read line like:

      if( w > @f_width-10 or w is 25 )

And you should be good to go.

Also - if you're looking to do a little more with this plug in, check out my fork of it. I've added a ton of functionality.

@jaloka
Copy link

jaloka commented Dec 16, 2011

I am seeing this styling behavior and moreover have the problem that when I switch from fancy string similarity comparison to traditional "contains" autocomplete the search box won't search right away after loading. Then once the user has entered three or four characters the plugin seems to work.

@earnold I checked out your fork but couldn't get it to work with the ajax data code. Could you post your example so I can try your fork? thanks

ProLoser referenced this issue in Jobvite/ajax-chosen Feb 15, 2012
Merged a fix from a timing bug and added an 'initialQuery' feature
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