DUPLICATE: Weird behaviour of the Icon element

Bricks Version: 1.5.2
Browser: Chrome 105.0
OS: Ubuntu 22.04
URL: (a link to a page that illustrates the issue would be really helpful)

image

Steps to replicate:

  1. Make use of the “Icon” element and select “Link” to external url, put some url. Set some properties in the “Layout” portion. (In my case padding, border).
  2. You will see that “Layout” portion of the element does not apply to the element at all because there is extra <a> tag and missing attributes on it.

Also, the rendering of the class attribute on the root element is weird, it outputs: class=“brxe-icon i” as you can see in the screenshot.

I spotted this problem just because i had padding, border style and border radius set. All gone when setting a link. Everything else is default.

Possibly related:

https://forum.bricksbuilder.io/t/wait-logo-elements-and-icons-after-update-do-not-work-correctly-in-safari/6123/4

Hi Darko,
Yeah, the issue has been reported a couple of times and will be solved in the next version.

I’ll close this thread accordingly.

Best regards,
timmse

1 Like