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

Can't Use Select 2 in filter pop up #19

Open
vishaltps opened this issue Dec 28, 2017 · 1 comment
Open

Can't Use Select 2 in filter pop up #19

vishaltps opened this issue Dec 28, 2017 · 1 comment

Comments

@vishaltps
Copy link

I used activeadmin_addons gem https://github.com/platanus/activeadmin_addons for improve the ActiveAdmin UI. It will by default take select 2 for all input type select. which is working fine in new and edit form. but it is not working properly on filter form. It is not showing any option .

First i though it is issue of activeadmin_addons gem . but when i integrate other gem it is working perfactly in filter form.

May be because of pop up , select 2 is not working.

@luca776
Copy link

luca776 commented Aug 6, 2020

The select2 pop-up is shown under the modal window

image

inspecting the modal I can see a z-index = 2000, so changing the z-index to 3000 for the select2 dropdown, it will show up

# active_admin.scss
.select2-dropdown {
    z-index: 3000
}

image

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