fix dropdown maxheight

This commit is contained in:
Francis Cao committed 2026-04-18 10:30:31 -07:00
1 parent b822374faa
commit df29c16c00
11 files changed
+13 -11

No files matched your search

@@ -33,7 +33,7 @@ export function LanguageSetting() {
allowSearch
onSearch={setSearch}
onOpenChange={handleOpen}
listProps={{ style: { maxHeight: 300 } }}
maxHeight={480}
style={{ minWidth: '250px' }}
>
{items.map(item => (
@@ -29,7 +29,7 @@ export function TimezoneSetting() {
allowSearch={true}
onSearch={setSearch}
onOpenChange={handleOpen}
listProps={{ style: { maxHeight: 300 } }}
maxHeight={480}
style={{ minWidth: '250px' }}
>
{items.map((item: any) => (
@@ -154,10 +154,9 @@ export function CompareTables({ websiteId }: { websiteId: string }) {
<Select
label={t(labels.compare)}
value={view}
defaultValue={view}
onChange={handleChange}
style={{ width: 200 }}
popoverProps={{ style: { width: 200 } }}
maxHeight={480}
listProps={{ style: { width: 200 } }}
>
{items.map(({ id, label }) => (
<ListItem key={id} id={id}>
@@ -42,6 +42,7 @@ export function EventProperties({ websiteId }: { websiteId: string }) {
value={eventName}
onChange={setEventName}
placeholder=""
maxHeight={480}
>
{events?.map(p => (
<ListItem key={p} id={p}>
@@ -55,6 +56,7 @@ export function EventProperties({ websiteId }: { websiteId: string }) {
onChange={setPropertyName}
isDisabled={!eventName}
placeholder=""
maxHeight={480}
>
{properties?.map(p => (
<ListItem key={p} id={p}>
@@ -33,6 +33,7 @@ export function SessionProperties({ websiteId }: { websiteId: string }) {
value={propertyName}
onChange={setPropertyName}
placeholder=""
maxHeight={480}
>
{properties?.map(p => (
<ListItem key={p} id={p}>