diff --git a/shell/platform/darwin/ios/framework/Source/FlutterPlatformViews.mm b/shell/platform/darwin/ios/framework/Source/FlutterPlatformViews.mm index 9208bbf0f89e1..12bdf28269d67 100644 --- a/shell/platform/darwin/ios/framework/Source/FlutterPlatformViews.mm +++ b/shell/platform/darwin/ios/framework/Source/FlutterPlatformViews.mm @@ -800,6 +800,7 @@ static bool ClipBoundsContainsPlatformViewBoundingRect(const SkRect& clip_bounds return layer; } SkCanvas* overlay_canvas = frame->SkiaCanvas(); + overlay_canvas->clipRect(rect); overlay_canvas->clear(SK_ColorTRANSPARENT); if (frame->GetDisplayListBuilder()) { slice->render_into(frame->GetDisplayListBuilder().get());