diff --git a/js/src/dropdown.js b/js/src/dropdown.js
index 3667fa1113014db4414d423a580c7f96dff3b33c..06b561425ae3edd59c16c8606b8b1a9f07990f36 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 6d85fde269428c859b295d01b091f6b91f01488d..11209625cd181261e7845d9ee476ec83f88517f8 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
           }
         },
         {