1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-26 13:29:06 +02:00

Collapse on toggle, should not hide descendant tabpanels (#34835)

This commit is contained in:
GeoSot
2021-08-30 15:29:02 +03:00
committed by GitHub
parent d9254c64fa
commit c1fc1dbbee
2 changed files with 51 additions and 1 deletions

View File

@@ -55,7 +55,7 @@ const CLASS_NAME_HORIZONTAL = 'collapse-horizontal'
const WIDTH = 'width'
const HEIGHT = 'height'
const SELECTOR_ACTIVES = '.show, .collapsing'
const SELECTOR_ACTIVES = '.collapse.show, .collapse.collapsing'
const SELECTOR_DATA_TOGGLE = '[data-bs-toggle="collapse"]'
/**