soflyy / breakdance-bugs

Bug reports from Breakdance users.
40 stars 6 forks source link

Using WP Gridbuilder facets causes CSS or JS to be lost #961

Open lalucioledigitale opened 11 months ago

lalucioledigitale commented 11 months ago

Breakdance version: 1.5 PHP version: 8.0 Wordpress version: 6.3.1

1 - Create an archive page containing a post loop builder with cards 2 - Apply the Lightgallery to the image displayed in a card to zoom in on the image 3 - Set up facets with WP Gridbuilder for sorting or "load more". 4 - Load page: everything works 5 - Use facets 6 - Lightgallery no longer works on card images

The same problem occurs if you display the mediaelement audio player in a card. After using facets, the mediaelement is no longer taken into account.

Similarly, if you directly load an empty search with a search facet and get no results, then cancel the search filter, the cards lose their css style.

Example of an empty search : https://vigneronsbio.com/cuvees/?_recherche_cuvees=dfsdfsf

Simply delete the filters to see the cards without CSS. If you load the page normally, you won't lose them: https://vigneronsbio.com/cuvees/