From b247279ffed4660bdbc6d66cd6a44e0104bc253f Mon Sep 17 00:00:00 2001 From: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Date: Fri, 26 Mar 2021 10:39:39 -0400 Subject: [PATCH] fix: select table overlay (#13694) --- superset-frontend/src/components/DatabaseSelector/index.tsx | 1 + superset-frontend/src/components/TableSelector/index.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/superset-frontend/src/components/DatabaseSelector/index.tsx b/superset-frontend/src/components/DatabaseSelector/index.tsx index 75103aac3ce04..34060bc5faaea 100644 --- a/superset-frontend/src/components/DatabaseSelector/index.tsx +++ b/superset-frontend/src/components/DatabaseSelector/index.tsx @@ -245,6 +245,7 @@ export default function DatabaseSelector({ placeholder={t('Select a database')} autoSelect isDisabled={!isDatabaseSelectEnabled || readOnly} + menuPosition="fixed" />, null, ); diff --git a/superset-frontend/src/components/TableSelector/index.tsx b/superset-frontend/src/components/TableSelector/index.tsx index 3be0167c8c1e6..c89ee693160f7 100644 --- a/superset-frontend/src/components/TableSelector/index.tsx +++ b/superset-frontend/src/components/TableSelector/index.tsx @@ -326,6 +326,7 @@ const TableSelector: FunctionComponent = ({ optionRenderer={renderTableOption} valueRenderer={renderTableOption} isDisabled={readOnly} + menuPosition="fixed" /> ); } else if (formMode) {