aboutsummaryrefslogtreecommitdiff
path: root/js/src/dropdown.js
diff options
context:
space:
mode:
authorKyle Tsang <[email protected]>2021-02-03 20:55:25 -0800
committerGitHub <[email protected]>2021-02-04 06:55:25 +0200
commitd63a9224368bd2eaf744b82a3c0f675671699d9b (patch)
tree1c6d1acb10d69721020f5150ff66a73e6969924e /js/src/dropdown.js
parentb376a3d80d3ce7a9106bf42b890167ecc992f912 (diff)
downloadbootstrap-d63a9224368bd2eaf744b82a3c0f675671699d9b.tar.xz
bootstrap-d63a9224368bd2eaf744b82a3c0f675671699d9b.zip
Fix Popper preventOverflow boundary config (#32845)
Currently, the boundary config is being assigned to the wrong var (`rootBoundary`) in the popper config. It should be assigned to the `boundary` var in popper's config. Ref: https://popper.js.org/docs/v2/utils/detect-overflow/#boundary
Diffstat (limited to 'js/src/dropdown.js')
-rw-r--r--js/src/dropdown.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/dropdown.js b/js/src/dropdown.js
index 3667fa111..06b561425 100644
--- a/js/src/dropdown.js
+++ b/js/src/dropdown.js
@@ -318,7 +318,7 @@ class Dropdown extends BaseComponent {
name: 'preventOverflow',
options: {
altBoundary: this._config.flip,
- rootBoundary: this._config.boundary
+ boundary: this._config.boundary
}
},
{