From eb2e271a08018aaea973b5ff405bc5b2f8072632 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Mon, 22 Jun 2026 21:22:41 -0700 Subject: [PATCH] Constrain filter edit tabs to scroll within the modal --- src/components/input/FilterEditForm.tsx | 94 +++++++++++++++---------- 1 file changed, 55 insertions(+), 39 deletions(-) diff --git a/src/components/input/FilterEditForm.tsx b/src/components/input/FilterEditForm.tsx index 247a698ca..02258b5be 100644 --- a/src/components/input/FilterEditForm.tsx +++ b/src/components/input/FilterEditForm.tsx @@ -75,46 +75,62 @@ export function FilterEditForm({ websiteId, onChange, onClose }: FilterEditFormP setCurrentCohort(type === 'cohort' ? id : undefined); }; + const panelStyle = { overflowY: 'auto' as const, minHeight: 0 }; + return ( - - - - - {t(labels.fields)} - {!isPixelLink && ( - <> - {t(labels.segments)} - {t(labels.cohorts)} - - )} - - - - - - - - - - - - + + + + {t(labels.fields)} + {!isPixelLink && ( + <> + {t(labels.segments)} + {t(labels.cohorts)} + + )} + + + + + + + + + + +