From 17473901830c96dc206cdab7f5433f4472bce745 Mon Sep 17 00:00:00 2001 From: Abhinav Jha Date: Wed, 4 Nov 2020 18:58:21 +0530 Subject: [PATCH] Fix: All canvas widgets should have no container styling applied (#1564) --- app/client/src/widgets/CanvasWidget.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/client/src/widgets/CanvasWidget.tsx b/app/client/src/widgets/CanvasWidget.tsx index 38c8339191..3c1f83bc74 100644 --- a/app/client/src/widgets/CanvasWidget.tsx +++ b/app/client/src/widgets/CanvasWidget.tsx @@ -24,13 +24,14 @@ class CanvasWidget extends ContainerWidget { } renderAsDropTarget() { + const canvasProps = this.getCanvasProps(); return ( - {this.renderAsContainerComponent(this.props)} + {this.renderAsContainerComponent(canvasProps)} ); }