diff --git a/core/lib/Drupal/Core/Render/Element/Actions.php b/core/lib/Drupal/Core/Render/Element/Actions.php
index 3b8b10b..15ad724 100644
--- a/core/lib/Drupal/Core/Render/Element/Actions.php
+++ b/core/lib/Drupal/Core/Render/Element/Actions.php
@@ -2,7 +2,9 @@
 
 namespace Drupal\Core\Render\Element;
 
+use Drupal\Core\Cache\CacheableMetadata;
 use Drupal\Core\Form\FormStateInterface;
+use Drupal\Core\Render\BubbleableMetadata;
 use Drupal\Core\Render\Element;
 
 /**
@@ -103,6 +105,10 @@ public static function preRenderActionsDropbutton(&$element, FormStateInterface
         $dropbuttons[$dropbutton]['#links'][$key] = array(
           'title' => $button,
         );
+        // Merge metadata like drupalSettings.
+        BubbleableMetadata::createFromRenderArray($dropbuttons[$dropbutton])
+          ->merge(BubbleableMetadata::createFromRenderArray($element[$key]))
+          ->applyTo($dropbuttons[$dropbutton]);
       }
     }
     // @todo For now, all dropbuttons appear first. Consider to invent a more
