WIP: Icon list and icon box elements : copy and paste style bug

Browser: Chrome 128.0.6613.85
OS: Windows

Hi bricks team,

1- If we use SVG icons in the icon list and icon box elements, after copying and pasting the style, the icons will also be transferred. But this problem does not exist in the icon element.

2- On the other hand, if we use an SVG icon in the button element and then paste it in another button element that has an SVG icon, the icon color and size will not be transferred.

A suggestion

It would be great if you integrated the copy and copy style buttons like in Elementor. This makes access much easier. In fact, we will only have a copy option, and a paste style option.

thanks

Hi @HOSEIN,

Thank you for your report, but I’m unable to replicate the issue.
For example, in the first “Icon List” element I pressed “Copy styles” and in the second one I clicked “Paste Styles”, but the SVG icon was not transferred. I also tried to press “Copy” instead of “Copy styles”, but it was the same.

Would you mind recording a video where it shows all steps to reproduce this error? To replicate it, can you also copy the structure that you have, so I can test it?

Thanks!
M

Hi @Matej,

Video:

template :

Ahh, thank @HOSEIN for the very clear video. I was able to reproduce the bug and will add it to our internal bug tracker.

And do you want to know why I was not able to reproduce it earlier? :thinking: Because if you copy-paste styles from the structure panel, it works correctly. It only replaces the SVG icon, if you copy-paste it from canvas, like you did. :exploding_head:
You can try and tell me if it’s working nicely for you if you copy-paste from structure :slight_smile:

So, something that we should improve/fix.

Thanks!
M

Thank you @Matej, Yes, it works fine in the structure panel.
From now on, I will try to send a video first so that the problem can be conveyed well from the beginning.

thanks again

1 Like

Yeah,
it’s so much easier to replicate it if there is a video alongside the written description. Even better if the video is with sound, but I know that this may not always be possible)

Thanks!

1 Like