Problem/Motivation

The drupal.collapse library is disabled in bootstrap.info.yml:

# ...
libraries-override:
  core/drupal.batch: bootstrap/drupal.batch
  core/drupal.collapse: false
# ...

So the <details> elements will not receive core's polyfill and aria assets, defined in drupal.collapse.
Bootstrap has a js/misc/collapse.js asset, but it is not added in info.yml or libraries.yml, so it does not load anywhere.

Proposed resolution

Override core collapse.js with Bootstrap's version:

libraries-override:
  core/drupal.collapse:
    js:
      misc/collapse.js: js/misc/collapse.js

Comments

gpap created an issue.