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
Collapse with parent assumes .panel #15341
Comments
Just facing the same issue, so 👍 for decoupling from styling. |
Glad it wasn't just me. I did wonder if I was just missing something. I changed |
Instead of changing the selector to Or alternatively make it an option with |
If I'm honest, I don't really see the gain in introducing more markup (in this case the In my specific case, it luckily works pretty much like panels, but just without the panel markup, and thus works with the JS that exists, after changing |
Because this bug is still unresolved. twbs/bootstrap#15341
@fat I believe we decided to punt this to v4, correct? |
Yeah this will change in v4. |
The collapse plugin, when used with
data-parent="{selector}"
, appears to assume that you are using panels (presumably because of the original accordion use-case). Line 49 of the plugin has a specific reliance on.panel
in the code, but is there any reason for this? I have code that has a similar close-all-others-within-a-container mechanism, but has very little need of using panels. Is this something that can/should be changed (now that #15241 is merged, reducing the emphasis on accordions using panels) or is there a good reason for the reliance on panels?The text was updated successfully, but these errors were encountered: