-
Notifications
You must be signed in to change notification settings - Fork 233
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
Version 0.9.14 breaks with ActiveAdmin #23
Comments
If you look up 720c86b, you will see In my local box, I don't have your situation without ActiveAdmin. Maybe you can check if |
I didn't see that commit, I was checking against a working version to see what changed, my bad. Having that in mind I looked at the code and the implementation was adding the chosen.css file with The <div id="q_user_id_chzn" class="chzn-container chzn-container-multi chzn-with-drop chzn-container-active" style="width: 240px;" title="">
<ul class="chzn-choices">
.... Do you know if some online demo is already using this version? (so I can see a working version and really check if it is activeadmin what causes the problem) |
I should add that I'm on chosen-rails 0.9.15 (bundle updated today) and running Ruby 1.9.3 with Rails 3.2.8 on top |
@wdiechmann Do you add |
I use it just as prescribed :) Complete with
I can't be 100% sure - but I'am pretty sure this thing worked (in production too) back in 0.9.8'ish ohh - and I use it with simple_form
the resulting HTML looks like this:
|
not sure whether this is any help to you @nicosantangelo - but when I compared the resources between my development and production I discovered that the chosen.css did not get compiled into the resource! So - I went hunting and discovered that my application.css had this:
at the top - and about half-way through this:
*but no / at the end! Lesson learned! Always keep comments in pairs!Even if you're gonna comment the rest of the file |
I'm using chosen-rails to show the options in the filers I define with active admin (witch is in version 0.6.0 according to my Gemfile.lock).
Updating chosen-rails from 0.9.13 ~> 0.9.14 causes chosen to keep the options visible at all times.
In more detail, it doesn't apply the left position style to "chzn-drop"
Instead of seeing
It stays like this:
Downgrading back to .13 fixed the issue for me.
The text was updated successfully, but these errors were encountered: