diff --git a/js/src/dropdown.js b/js/src/dropdown.js index 3667fa1113..06b561425a 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 } }, { 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 } }, {