1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-24 06:03:10 +02:00

Decouple BackDrop from modal (#32439)

* Create backdrop.js util

* revert breaking changes

remove PromiseTimout usage

revert class name

* one more test | change bundlewatch.config

* add config obj to backdrop helper | tests for rootElement | use transitionend helper

* Minor tweaks — Renaming

Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
This commit is contained in:
GeoSot
2021-04-14 23:28:50 +03:00
committed by GitHub
parent 0122e020d6
commit 80085a12f6
7 changed files with 386 additions and 70 deletions

View File

@@ -65,7 +65,8 @@ const getConfigByPluginKey = pluginKey => {
pluginKey === 'EventHandler' ||
pluginKey === 'SelectorEngine' ||
pluginKey === 'Util' ||
pluginKey === 'Sanitizer'
pluginKey === 'Sanitizer' ||
pluginKey === 'Backdrop'
) {
return {
external: []
@@ -133,7 +134,8 @@ const getConfigByPluginKey = pluginKey => {
const utilObjects = new Set([
'Util',
'Sanitizer'
'Sanitizer',
'Backdrop'
])
const domObjects = new Set([