Skip to content

Conversation

@GeoSot
Copy link
Member

@GeoSot GeoSot commented Jan 17, 2022

Tweak active children selector, to search only .collapsing as for ui reasons, during show/hide, we toggle .collapse class too

Explanation: Seems like that in order to achieve smooth transitions during toggling, we toggle .collapse class too. So the activeChildren selection fails to include transitioning instances, between quick switching

contradicts #25161
closes #35685

@GeoSot GeoSot requested review from a team as code owners January 17, 2022 09:36
@XhmikosR
Copy link
Member

Is this covered by tests? Or rather, could you add a test please? :)

@GeoSot GeoSot force-pushed the gs/tweak-collapse-js-selector branch from 8cfb28c to b82ba84 Compare January 30, 2022 00:05
@GeoSot GeoSot marked this pull request as draft January 31, 2022 23:35
@GeoSot GeoSot force-pushed the gs/tweak-collapse-js-selector branch from 5f933fb to 6ad4548 Compare February 4, 2022 14:34
@mdo mdo force-pushed the gs/tweak-collapse-js-selector branch from 6ad4548 to c3a6945 Compare February 28, 2022 19:11
GeoSot added 3 commits April 7, 2022 14:29
…ing` as for ui reasons, during show/hide, we toggle `.collapse` class too
@GeoSot GeoSot force-pushed the gs/tweak-collapse-js-selector branch from c3a6945 to 49cfa8e Compare April 7, 2022 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Needs review

Development

Successfully merging this pull request may close these issues.

Multiple sections can be expanded with Bootstrap 5.1 accordion

2 participants