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

Bootstrap-select inside bootstrap collapse #37

Closed
t3chn0r opened this issue Jan 8, 2013 · 2 comments
Closed

Bootstrap-select inside bootstrap collapse #37

t3chn0r opened this issue Jan 8, 2013 · 2 comments

Comments

@t3chn0r
Copy link

t3chn0r commented Jan 8, 2013

When using bootstrap-selects inside collapsing accordion I can't make it stay on top (even outside the accordion page). I tried different things but I couldn't make work... Any ideas what can be done to mimic the functionality of a normal select?

@caseyjhol
Copy link
Member

Try adding overflow: visible; to its container(s).

@t3chn0r
Copy link
Author

t3chn0r commented Jan 12, 2013

Thanks @caseyjhol. I just fixed it with the following piece of code:

        $(document).on("shown", ".accordion-group", function() {
            $(this).find(".accordion-body").css("overflow","visible");
        });

        $(document).on("hide", ".accordion-group", function() {
            $(this).find(".accordion-body").css("overflow","hidden");
        });

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