Javascript moving other text

So I have this java script that “type writes” a header, but when the header is fully deleted it shifts all my other text below it up.

Text “typing”:

Then the text gets shifted up:

Any help how to stop the text from “shifting up” would be amazing!


Here is my site Read-Only:
[1]: https://preview.webflow.com/preview/daniels-initial-project-eb0d02?utm_medium=preview_link&utm_source=designer&utm_content=daniels-initial-project-eb0d02&preview=8388ca069399ccfeebb84275a77e7f58&mode=preview

its hard to tell in the screenshots but you can see the bottom of the screenshot theres “extra” blue space

Hi @Daniel_Grinevich,

To avoid this, I would simply add a min height to the div containing your javascript dynamic text. That way, the height will always remain the same.