diff --git a/app/modules/Collection/AddField/index.tsx b/app/modules/Collection/AddField/index.tsx
index 91a8c393..ab655e8e 100644
--- a/app/modules/Collection/AddField/index.tsx
+++ b/app/modules/Collection/AddField/index.tsx
@@ -453,6 +453,7 @@ export default function AddField({ propertyName, pageId, handleClose }: Props) {
buttonText="Add Condition when Field is Visible"
collection={collection}
buttonWidth="fit"
+ dropDownPortal={true}
/>
{/* {["shortText", "longText", "ethAddress"].includes(
type.value
diff --git a/app/modules/Collection/Automation/SingleAutomation.tsx b/app/modules/Collection/Automation/SingleAutomation.tsx
index d25ace24..44cad267 100644
--- a/app/modules/Collection/Automation/SingleAutomation.tsx
+++ b/app/modules/Collection/Automation/SingleAutomation.tsx
@@ -629,6 +629,7 @@ export default function SingleAutomation({
firstRowMessage="It is true that"
buttonText="Add Condition"
collection={collection}
+ dropDownPortal={false}
/>
diff --git a/app/modules/Collection/Common/AddConditions.tsx b/app/modules/Collection/Common/AddConditions.tsx
index 40d51c1b..bf203968 100644
--- a/app/modules/Collection/Common/AddConditions.tsx
+++ b/app/modules/Collection/Common/AddConditions.tsx
@@ -13,6 +13,7 @@ type Props = {
buttonText: string;
firstRowMessage?: string;
collection: CollectionType;
+ dropDownPortal: boolean;
buttonWidth?: string;
};
@@ -23,6 +24,7 @@ export default function AddConditions({
buttonText,
collection,
buttonWidth,
+ dropDownPortal,
}: Props) {
const fieldOptions = Object.entries(collection.properties)
.filter((field) => !["multiURL"].includes(field[1].type))
@@ -102,6 +104,7 @@ export default function AddConditions({
}}
multiple={false}
isClearable={false}
+ portal={dropDownPortal}
/>
diff --git a/app/modules/Collection/Common/FilterValueField.tsx b/app/modules/Collection/Common/FilterValueField.tsx
index f623a217..466c1701 100644
--- a/app/modules/Collection/Common/FilterValueField.tsx
+++ b/app/modules/Collection/Common/FilterValueField.tsx
@@ -11,6 +11,8 @@ type Props = {
onChange: (value: any) => void;
collection: CollectionType;
propertyId: string;
+ dropDownPortal: boolean;
+
comparatorValue: string;
};
@@ -20,6 +22,7 @@ export default function FilterValueField({
collection,
propertyId,
comparatorValue,
+ dropDownPortal,
}: Props) {
const type = collection?.properties[propertyId]?.type;
const [memberOptions, setMemberOptions] = useState