# Flex - Basis not cleared?

**URL:** <https://forums.realmacsoftware.com/t/flex-basis-not-cleared/47087>\
**Category:** Elements\
**Created:** [April 9, 2025, 2:06pm UTC](https://forums.realmacsoftware.com/t/flex-basis-not-cleared/47087 "2025-04-09T14:06:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![logrunner](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Post date:** [April 9, 2025, 2:06pm UTC](https://forums.realmacsoftware.com/t/flex-basis-not-cleared/47087/1 "2025-04-09T14:06:09Z")

</div>

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

 ![CleanShot 2025-04-09 at 14.54.40](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/8/9/89f91dad61c13da3c0dd741fcff1f0e1d21e3e6e.png)

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:

```auto
<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:

```auto
<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. 🤔

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [April 9, 2025, 2:23pm UTC](https://forums.realmacsoftware.com/t/flex-basis-not-cleared/47087/2 "2025-04-09T14:23:10Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [April 9, 2025, 2:59pm UTC](https://forums.realmacsoftware.com/t/flex-basis-not-cleared/47087/3 "2025-04-09T14:59:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![logrunner](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Post date:** [April 9, 2025, 4:48pm UTC](https://forums.realmacsoftware.com/t/flex-basis-not-cleared/47087/4 "2025-04-09T16:48:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [April 9, 2025, 4:58pm UTC](https://forums.realmacsoftware.com/t/flex-basis-not-cleared/47087/5 "2025-04-09T16:58:22Z")

</div>

Thanks, we got em!
