Flex - Basis not cleared?

I think there is possibly a bug in the Flex Item > Advanced Settings:

I set a Basis of 2/3 and then after previewing the page decided against it. So I cleared the Basis but the 2/3 is being “remembered” and still being output with the HTML.

I couldn’t understand what was output looked wrong, so I copied the browser source and asked ChatGPT. It seems like basis is getting output twice, it shouldn’t be output at all?

This is the code generated:

<div class="rw07B1DC28_8A1C_4505_B647_935F964708D2 group/container group/rw07B1DC28_8A1C_4505_B647_935F964708D2 [&amp;>*]:col-start-1 [&amp;>*]:row-start-1 group/IMAGE_A1 self-auto justify-self-auto flex-auto basis-[] order-none overflow-hidden grid w-[2/3] h-full rounded-tl-none rounded-tr-none rounded-bl-none rounded-br-none basis-2/3" data-filter-tags="" id="IMAGE_A1">

It has basis-[] and basis-2/3 but the basis field is empty (see image).

If I revert to Standard settings, the output now looks like this:

<div class="rw07B1DC28_8A1C_4505_B647_935F964708D2 group/container group/rw07B1DC28_8A1C_4505_B647_935F964708D2 [&amp;>*]:col-start-1 [&amp;>*]:row-start-1 group/IMAGE_A1 self-auto justify-self-auto overflow-hidden grid w-[2/3] h-full rounded-tl-none rounded-tr-none rounded-bl-none rounded-br-none basis-2/3" data-filter-tags="" id="IMAGE_A1">

Note that basis-2/3 is still included in the output. :thinking:

Hmm, this looks like one for @ben to dig into… in the meantime, do you have a project you can share that displays this issue?

I can’t replicate this one, could you provide an example project with this issue? :slight_smile:

Hi @ben - I have emailed the project to you via RealMac Support. :slight_smile:

1 Like

Thanks, we got em!