contember / interface-archive

Archive of Contember Interface 1.x.
Other
94 stars 7 forks source link

Select options not visible in "alternate" box #348

Closed LukasChalupa closed 2 years ago

LukasChalupa commented 2 years ago

Happens with any select (SelectField, MultiSelectField) inside alternate box

Block editor example to replicate:

<Block
    discriminateBy="asideContent"
    label="Aside content"
    alternate={
        <SelectField
            field="alignment"
            label="Alignment"
            options={[
                { value: 'left', label: 'Text left' },
                { value: 'right', label: 'Text right' },
            ]}
            defaultValue="left"
        />
    }
>
    Block content
</Block>

image

honzasladek commented 2 years ago

@attitude Can you please check? Looks like a bug.

attitude commented 2 years ago

@LukasChalupa what version of admin package are you using?

honzasladek commented 2 years ago

@attitude 1.0.3

attitude commented 2 years ago

Seems to be already fixed in #338. I can confirm it working in the upcoming v1.1 branch, but wasn't back-ported. I will cherry pick the commit for the v1.0 branch.

Contember Admin – fixed dropdown overflows

Cc: @honzasladek & @LukasChalupa

Screenshot 2022-06-10 at 12 32 08