From 27d6b131063db041ab973befc42841860f40cbc8 Mon Sep 17 00:00:00 2001 From: Arash Date: Mon, 22 Mar 2021 18:23:51 -0400 Subject: [PATCH] changed menuportal --- superset-frontend/src/components/DatabaseSelector/index.tsx | 1 - superset-frontend/src/components/TableSelector/index.tsx | 1 - 2 files changed, 2 deletions(-) diff --git a/superset-frontend/src/components/DatabaseSelector/index.tsx b/superset-frontend/src/components/DatabaseSelector/index.tsx index 0e8108d46bf43..34060bc5faaea 100644 --- a/superset-frontend/src/components/DatabaseSelector/index.tsx +++ b/superset-frontend/src/components/DatabaseSelector/index.tsx @@ -245,7 +245,6 @@ export default function DatabaseSelector({ placeholder={t('Select a database')} autoSelect isDisabled={!isDatabaseSelectEnabled || readOnly} - menuPortalTarget={document.body} menuPosition="fixed" />, null, diff --git a/superset-frontend/src/components/TableSelector/index.tsx b/superset-frontend/src/components/TableSelector/index.tsx index 32cbda82c7f92..c89ee693160f7 100644 --- a/superset-frontend/src/components/TableSelector/index.tsx +++ b/superset-frontend/src/components/TableSelector/index.tsx @@ -326,7 +326,6 @@ const TableSelector: FunctionComponent = ({ optionRenderer={renderTableOption} valueRenderer={renderTableOption} isDisabled={readOnly} - menuPortalTarget={document.body} menuPosition="fixed" /> );