# Text element doesn't stretch vertically

**URL:** <https://forum.bubble.io/t/text-element-doesnt-stretch-vertically/161369>\
**Category:** Bugs\
**Created:** [July 24, 2021, 7:28am UTC](https://forum.bubble.io/t/text-element-doesnt-stretch-vertically/161369 "2021-07-24T07:28:21Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![reallyreallywant.app](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/reallyreallywant.app/32/98345_2.png) [@reallyreallywant.app](https://forum.bubble.io/u/reallyreallywant.app)\
**Post date:** [July 24, 2021, 7:28am UTC](https://forum.bubble.io/t/text-element-doesnt-stretch-vertically/161369/1 "2021-07-24T07:28:21Z")

</div>

Hello,

I’ve put 2 simple text elements in a group.

- Title = “BIO” (flat text)
- Description = “ParentUser’s BIO” (dynamic text)

Sometimes the text element of the description doesn’t stretch (even if the text is displayed properly). But sometimes, it stretches like it should stretch (vertically). It happens randomly.

I have no clue why it would do that. Do you guys have a clue or is it a bug?

![Capture d’écran 2021-07-24 à 11.35.19](https://us1.discourse-cdn.com/bubble/original/3X/e/b/ebb24235bb02f5e777dc0840e5d5b5d7a156043f.png)

![Capture d’écran 2021-07-24 à 11.34.00](https://us1.discourse-cdn.com/bubble/original/3X/1/e/1edb4776ad19292d57d298f4c2b47d6d4c9094b1.png)

 ![Structure](https://us1.discourse-cdn.com/bubble/original/3X/b/5/b54651cb05a2f3822735f5d13909f29a79e79599.png)

EDIT: I tried to check the “Shrink the element height if the text gets shorter” and it appears that the text element doesn’t stretch because Bubble recognizes the text as empty (when the glitch appears, the text element height becomes 0px)

EDIT: Bubble doesn’t recognize the text as empty because I have put the condition: “when Parent’sUser’s Description is empty”, display text “XXX” and it doesn’t display “XXX”. It will just put the height at 0px when “Shrink the element height if the text gets shorter” is checked.

---

<div class="post-metadata">

**Author:** ![boston85719](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/boston85719/32/77286_2.png) [@boston85719](https://forum.bubble.io/u/boston85719)\
**Post date:** [July 24, 2021, 7:55am UTC](https://forum.bubble.io/t/text-element-doesnt-stretch-vertically/161369/2 "2021-07-24T07:55:58Z")

</div>

Has something to do with the group that it is supposed to be in…you can clearly see in the example images one that shows the opaque background color of that group stretched the same height as the text itself, while in the other the opagque background is not stretched while the text is.

---

<div class="post-metadata">

**Author:** ![reallyreallywant.app](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/reallyreallywant.app/32/98345_2.png) [@reallyreallywant.app](https://forum.bubble.io/u/reallyreallywant.app)\
**Post date:** [July 24, 2021, 10:39am UTC](https://forum.bubble.io/t/text-element-doesnt-stretch-vertically/161369/3 "2021-07-24T10:39:53Z")

</div>

> [@reallyreallywant.app](#):
>
> I tried to check the “Shrink the element height if the text gets shorter” and it appears that the text element doesn’t stretch because Bubble recognizes the text as empty (when the glitch appears, the text element height becomes 0px)

I don’t think so because I tried to check the “Shrink the element height if the text gets shorter” and it appears that the text element doesn’t stretch because Bubble recognizes the text as empty (when the glitch appears, the text element height becomes 0px)

---

<div class="post-metadata">

**Author:** ![boston85719](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/boston85719/32/77286_2.png) [@boston85719](https://forum.bubble.io/u/boston85719)\
**Post date:** [July 24, 2021, 3:42pm UTC](https://forum.bubble.io/t/text-element-doesnt-stretch-vertically/161369/4 "2021-07-24T15:42:58Z")

</div>

What is the grey opaque color for? Below it is expanded vertically to fit the text.

![Screen Shot 2021-07-24 at 10.41.27 PM](https://us1.discourse-cdn.com/bubble/original/3X/1/3/13074bd7b62ae87509ab313a75c1d6829bd129c8.png)

Below it is not stretched vertically to fit the content.

![Screen Shot 2021-07-24 at 10.41.32 PM](https://us1.discourse-cdn.com/bubble/original/3X/0/1/0172f2a4f490da23403a2029b350f7f71428a54b.png)

That element, whatever it is, is the problem most likely.

---

<div class="post-metadata">

**Author:** ![reallyreallywant.app](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/reallyreallywant.app/32/98345_2.png) [@reallyreallywant.app](https://forum.bubble.io/u/reallyreallywant.app)\
**Post date:** [July 24, 2021, 7:01pm UTC](https://forum.bubble.io/t/text-element-doesnt-stretch-vertically/161369/5 "2021-07-24T19:01:36Z")

</div>

The grey thing is just the background of the text element itself. I’ve done this to see what’s happening with the text.

 ![Capture d’écran 2021-07-24 à 23.00.51](https://us1.discourse-cdn.com/bubble/original/3X/7/2/7258b3a5955bc71a89a49c0d7a05d3d1c4754125.png)

---

<div class="post-metadata">

**Author:** ![boston85719](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/boston85719/32/77286_2.png) [@boston85719](https://forum.bubble.io/u/boston85719)\
**Post date:** [July 24, 2021, 8:16pm UTC](https://forum.bubble.io/t/text-element-doesnt-stretch-vertically/161369/6 "2021-07-24T20:16:54Z")

</div>

My only thought is to maybe put the text element into a group.

If that doesn’t work I’d send in a bug report.

---

<div class="post-metadata">

**Author:** ![reallyreallywant.app](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/reallyreallywant.app/32/98345_2.png) [@reallyreallywant.app](https://forum.bubble.io/u/reallyreallywant.app)\
**Post date:** [July 24, 2021, 8:33pm UTC](https://forum.bubble.io/t/text-element-doesnt-stretch-vertically/161369/7 "2021-07-24T20:33:41Z")

</div>

I tried many things. I just figured something: it appears it’s due to a plugin (that shouldn’t have done this bug)…

Thanks for your time helping!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [August 7, 2021, 7:29am UTC](https://forum.bubble.io/t/text-element-doesnt-stretch-vertically/161369/8 "2021-08-07T07:29:18Z")

</div>

Closed on August 7, 2021, 7:29am UTC

This topic was automatically closed after 14 days. New replies are no longer allowed.
