Created by: Johann-S
Detect if the element use flexbox, if it's the case add .flexshow
-
Add Visual test -
Detect all posible flex values (inline-flex, flex, etc...)
We detect flex by creating hidden div(s) and we add each class to this hidden div to detect if this div is displayed in flex mode or not.
We do that only when we call the constructor of Collapse plugins that's why I added an update
method if the collapsible element change, to detect once again the appropriate show class
Close : #22600 (closed)
/CC : @mdo