SOLVED: Element loses active class if switching from another element of the same kind without active class

Bricks Version: 1.6
Browser: Chrome

Expected behavior: If a class selection on an element is active, it’s remembered so that the class will be still active when we select the element again later.

Problem: If switching selection to a div with active class from another div without active class, the class selection will be lost. But if we select an element other than div, like block, or another div also with active class, and then switch back to the div again, the class selection will be active correctly again. So the active class status is still remembered, but just the activation process is skipped.

Update 12/14: The issue not just happen to div. I found it happen to all elements. Only switching between the same kind of elements causes this bug, for example, from a block to a block, from a container to an container. Switching between a block and a div does not cause the active class bug.

Hi Kunpeng,
Thanks so much for your report!

I was able to reproduce the issue and added it to our bug tracker.

Best regards,
timmse

Hi Kunpeng,
We’ve fixed this bug in Bricks 1.7 beta, now available as a manual download in your Bricks account: Account – Bricks

Please let us know if you are still experiencing issues.

Best regards,
timmse

1 Like