WIP: It is not possible to wrap filter elements in the structure panel

Browser: Chrome 132.0.6834.111
OS: Windows

Hi bricks team,

I tried to wrap the radio filter element in a block element in the structure panel. But there seems to be a problem. Please watch the video below. This seems to only happen on pages. It works as expected in the product archive.

HI @HOSEIN,

thank you for your report. I tested locally, and I was not able to replicate the issue on my install. But, I saw that it took a little while to rerender the “Filter - Block” element, and before it rendered it, it looked exactly the same as in your case.

Can you check the developer tools, when you do that, to see if there is any log there?

Please let me know.

Thanks.
Matej.

1 Like

Hi Matej,

About rendering delay, yes, It always happens. But about the main problem, I just checked it more and it seems to only happen to the radio filter. Do you confirm?

Also in devtools

Hi @HOSEIN,

yeah, the dev tools look right. Sadly, I still can’t reproduce the issue.

Can you try to reproduce it on Bricks Playground? Or on some other install?

Let me know. Thanks!
Matej.

2 Likes

Hi again Matej,

This problem also exists in Playground. Please see a new video for it.

Hi @HOSEIN,

I can’t reproduce it on the playground either :frowning:

Can you send temporary login credentials to your playground website and a link to this thread to help@bricksbuilder.io using the email address you used during the purchase, so I can take a look?

Thank you,
Matej

1 Like

Hi Matej,

I just sent the email. Thank you🙏

Hi @HOSEIN,

thank you for the email! I already responded there, but let me reply here also, if anyone will get the same issue.

I was finally able to replicate the issue, but to me, it happens only if my Radio - Filter has many items. I can not replicate it, if there are only a few options. But I can see the reason why is this happening in our codebase, so that’s good.

Thank you!
Matej

because of that re-render/late render problem I stoped using filters :frowning:

that problem creating cache problems with cache plugins as well because it is rendering too late.

https://sinanisler.com/codex/

Hmm, the issue here was about the backend. Can you explain a bit more what you mean by that?

I will report it later no time this week.

need to replicate it again it is not live anymore deleted filters.

1 Like

Hi @HOSEIN ,

Do you mind testing again with the latest 1.12.2?
We revisit this issue but are unable to replicate this anymore with the latest 1.12.2 version.
Thanks.

Regards,
Jenn

Hi @itchycode,

It seems the problem is still there. It’s problematic if we do the wrap using the structure panel. But it works fine directly from within the canvas.

OK, Now I can replicate the issue when the Filter action is “Sort”

1 Like