Setting grid gap column/row removes grid property

Cwicly Plugin version: 1.4.0.2

Hi,

After setting grid property in block inspector, setting any grid GAP property removes the grid property.

Thanks for investigating.

Hi @yankiara,

Sorry to hear you’re experiencing trouble with this.

Unfortunately, I haven’t been able to reproduce this issue.
Could you possibly confirm whether Tailwind mode is enabled?

Additionally, to investigate further I have set up a demo instance.
Kindly log in with this, and see the Grid gap test page.

Feel free to change it to how you have set it up on your installation, to see if the error is reproducible.

Thank you in advance.

Hi,

Thanks, after some testing, it turns out the issue only happen in Tailwind mode, and because of a spacing extent I added. I could reduce the problem down to this:

image

It seems that the grid token I added in spacing extent conflicts with the main TW grid class.

You can now test on the demo instance: set grid, set any gap, and grid is removed.

1 Like

Thank you for clarifying this, @yankiara!

I have been able to reproduce the issue, when a grid spacing value has been specified in the TW config.

This seems to be connected to how we perform the check to see whether a Tailwind class has been applied, and how it’s linked to a value.

Rest assured, we’ll investigate further and have a fix as soon as possible.

Thank you for your understanding.