Index: sky/sdk/lib/widgets/popup_menu.dart |
diff --git a/sky/sdk/lib/widgets/popup_menu.dart b/sky/sdk/lib/widgets/popup_menu.dart |
index bf357eece3917eefdeef1d56a1781fbc1d208ba2..2cf172ad7490a96d1c9eede5fc130e46a56c3cbc 100644 |
--- a/sky/sdk/lib/widgets/popup_menu.dart |
+++ b/sky/sdk/lib/widgets/popup_menu.dart |
@@ -13,6 +13,7 @@ import '../theme/shadows.dart'; |
import 'animated_component.dart'; |
import 'basic.dart'; |
import 'popup_menu_item.dart'; |
+import 'scrollable_viewport.dart'; |
const double _kMenuOpenDuration = 300.0; |
const double _kMenuCloseDuration = 200.0; |
@@ -122,7 +123,9 @@ class PopupMenu extends AnimatedComponent { |
horizontal: _kMenuHorizontalPadding, |
vertical: _kMenuVerticalPadding |
), |
- child: new Block(children) |
+ child: new ScrollableViewport( |
+ child: new Block(children) |
+ ) |
) |
) |
) |