ayann / active_admin_flat_skin

Active Admin Flat theme design.
http://ayann.github.io/active_admin_flat_skin
MIT License
91 stars 62 forks source link

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

Open vishaltps opened 6 years ago

vishaltps commented 6 years ago

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 commented 4 years ago

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