-
Notifications
You must be signed in to change notification settings - Fork 28
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
Dropdowns not working #9
Comments
I've "solved" It adding in the active_bootstrap_skin.js file
accodirng to http://getbootstrap.com/components/#navbar Hope it helps to you in a newer version. |
@sutherland007 could you let me know your ActiveAdmin version? I'll check your way at the weekend and get back to you |
In the footer says Active Admin 1.0.0.pre2 from it's github |
There is no this fix in the repo... |
@Revinand I'll update the project example about this gem soon. I guess you guys missing something or has a conflict between versions of Bootstraps, ActiveAdmin... |
@vinhnglx i got the master (and the gem 0.1.3) and both still not working |
same here, not working Active Admin 1.0.0 and latest active_bootstrap_skin |
This should work, and for Turbolinks Classic and Turbolinks 5 aswell. :) try to replace active_bootstrap_skin.js with this: https://gist.github.com/Jamevid/f78d0236a8ae8a6e8009aa7a1ef032bb |
Here is a hack for other dropdowns (other than menu) if someone is interested to try. To put Inside the document "ready page:load turbolinks:load" part. $('.dropdown_menu_list_wrapper').contents().unwrap(); |
I had this problem today, but was able to solve it by adding jquery to my active_admin.js
I think this is actually part of the bootstrap-sass setup, but maybe it should explicitly be added to the usage instructions in the Readme. |
@jaxn I don't think so. The jquery is required in application.js file. |
Yeah, I had forgotten that I also swapped to a different fork.
Is there any way we can help you get this one fixed?
…On Thu, Dec 29, 2016 at 7:09 PM Vinh Nguyen ***@***.***> wrote:
@jaxn <https://github.com/jaxn> I don't think so. The jquery is required
in application.js file.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABxp3rsSgFPgms0ZlFHFLMJc0rx1zLkks5rNFnHgaJpZM4I10ms>
.
|
Seems like it's still not fixed in newest version? |
modified @sutherland007 #9 (comment) to work with turbolinks (rails 5 in my case) added to active_admin.js
|
I was checking the code of the dropdowns and it's showing like this
So, it should be like this:
But I only modified that using the web inspector, How can I make permanent?
The text was updated successfully, but these errors were encountered: