diff --git a/lib/components/menu.dart b/lib/components/menu.dart index 86b06a4..7293625 100644 --- a/lib/components/menu.dart +++ b/lib/components/menu.dart @@ -28,6 +28,9 @@ class _MenuRoute extends PopupRoute { var width = entries.first.icon == null ? 216.0 : 242.0; final size = MediaQuery.of(context).size; var left = location.dx; + if (left < 10) { + left = 10; + } if (left + width > size.width - 10) { left = size.width - width - 10; }