The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
fix(sdk): prevent double scrollbars in sdk dashboards (#62962)
Phoomparin Mano087a69eb78ee
diff --git a/frontend/src/metabase/dashboard/components/Dashboard/Dashboard.tsx b/frontend/src/metabase/dashboard/components/Dashboard/Dashboard.tsxindex 44f20263441..b8839285e0f 100644--- a/frontend/src/metabase/dashboard/components/Dashboard/Dashboard.tsx+++ b/frontend/src/metabase/dashboard/components/Dashboard/Dashboard.tsx@@ -66,7 +66,9 @@ const DashboardDefaultView = ({ className }: { className?: string }) => {}const isEmpty = !dashboardHasCards || (dashboardHasCards && !tabHasCards);- const isFullHeight = isEditing || isSharing;++ // Embedding SDK has parent containers that requires dashboard to be full height to avoid double scrollbars.+ const isFullHeight = isEditing || isSharing || isEmbeddingSdk();return (<Flex