For this video 1 seems like multiple popup opened at the same time. May I know it happens after filter action or without? If the issue occurs without any filter action, please can you provide a link for me to check? You could send it to help@bricksbuilder.io and include this thread link as a reference as well.
For this video 2 , it is because the plugin didn’t fetch the latest dynamic CSS from their AJAX call. Or maybe the required JS never reinit after the DOM newly added.
As the issues you mentioned here only happen when using the filter plugin (except issue 2), I would not mark this as a BUG in Bricks. Instead, suggest you to check with the plugin support.
To explain it in more detail, this is what happening on your site. The filter Ajax calls were made by the filter plugin, they got their code logic to retrieve the latest HTML and replace your existing loop so you can see the results in your loop perfectly. However, in Bricks, this is not sufficient.
In native Bricks AJAX calls ( Ajax pagination, Infinite Scrolls ), these are the things we do.
First, Bricks will make AJAX call to retrieve:
Latest Loop HTML
Latest Popups HTML
Dynamic CSS generated by the HTML
(will be more in future versions)
Then, Bricks will replace your old loop HTML with the latest one, and add latest popups HTML in the document as well. Same to the dynamic CSS, it will be inserted in the document.
Lastly, Bricks will init all necessary JavaScript for those newly added DOMs and everything will work as expected.
You can test AJAX pagination or Infinite Scrolls in Bricks without any filter plugin and your popups and sliders should work as expected.
yes indeed everything works with the native Bricks AJAX calls (Ajax pagination, Infinite Scrolls)
the problem arises as soon as filtering occurs on the loop with any plugin filter.
so the solution if I understand correctly,
simply reproduce the behavior (Ajax pagination, Infinite Scrolls) with the availability of native filtering under bricks ?
what I tried to do before discovering this limitation was to place a carousel in my loop card as we see very clearly here airbnb
and remax
this does not work in ajax,
so I thought about quickview, same problem.
it is possible that in the very near future (with the availability of native filtering under bricks) this problem will be taken into account.
allow me to summarize this discussion and get everyone to agree on what we’re talking about with a single image quickly made in figma
and which sums up the whole problem,
sometimes a picture is worth a thousand words
At the moment when I have finished writing these words, it is not possible to reproduce what is illustrated in this image, you will come up against all the problems that this topic exposes
let’s hope that the brick devs take this scenario into account
it is possible that in the very near future (with the availability of native filtering under bricks) this problem will be taken into account.
Sure, when we are working on the filtering and sorting feature, the required JS, CSS, and HTML will be properly reinit + display in the document. That’s how our AJAX pagination and Infinite scroll work currently