diff --git a/device_preview/lib/src/device_preview.dart b/device_preview/lib/src/device_preview.dart index b3ce3017..e0d4fc93 100644 --- a/device_preview/lib/src/device_preview.dart +++ b/device_preview/lib/src/device_preview.dart @@ -536,7 +536,11 @@ class _DevicePreviewState extends State { : BorderRadius.zero; final double rightPanelOffset = !isSmall ? (isEnabled ? ToolPanel.panelWidth - 10 : (64 + mediaQuery.padding.right)) : 0; - final double bottomPanelOffset = isSmall ? mediaQuery.padding.bottom + 52 : 0; + final double bottomPanelOffset = isSmall + ? mediaQuery.viewInsets.bottom > 0 + ? 0 + : mediaQuery.padding.bottom + 52 + : 0; return Stack( children: [ if (isToolbarVisible && isSmall)