Text With Margin-top:auto not Flowing Correctly

Hi!

I have a Text element with this content: {{dc:woocommerce:product_price product="6105"}} Kn. It has top margin set to “Auto”.

When I drag it over the button, it drops below it. Then, if I drag it above the button, it stays below it in the layout pane.

Here is a little animation of the issue:

Thanks!

Hi @Misho

Thanks for letting us know about this. I believe this is a state management bug. Things not synced up with the preview. Navigating off of Layout and back would allow the Layout tree to refresh from the “source of truth”. I suspect it would still show the Text element in the wrong position. This means if you save the page and come back it didn’t actually move the element even though you dragged it in the preview. We’ll take a closer look at this as part of this cycle.

1 Like

Thanks @alexander!

The workflow for now is to drop the content above the element, and it will settle bellow it, where it should be.

Hey @Misho,

Thank you for sharing with us.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.