Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Tsang <6854874+kyletsang@users.noreply.github.com>2021-02-04 07:55:25 +0300
committerGitHub <noreply@github.com>2021-02-04 07:55:25 +0300
commitd63a9224368bd2eaf744b82a3c0f675671699d9b (patch)
tree1c6d1acb10d69721020f5150ff66a73e6969924e /js/src/tooltip.js
parentb376a3d80d3ce7a9106bf42b890167ecc992f912 (diff)
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/tooltip.js')
-rw-r--r--js/src/tooltip.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js
index 6d85fde269..11209625cd 100644
--- a/js/src/tooltip.js
+++ b/js/src/tooltip.js
@@ -509,7 +509,7 @@ class Tooltip extends BaseComponent {
{
name: 'preventOverflow',
options: {
- rootBoundary: this.config.boundary
+ boundary: this.config.boundary
}
},
{