How do I restart CMS Filters? Issue with Barba JS

Hey there, I’m building a project using Barba JS and am running into an issue where the Attributes CMS filters stop working when I navigate to the Work page, if I reload the page they work as expected but if I navigate away and come back they no longer function.

Is there any way I can solve this?

My hope was to find a way to programmatically restart the CMS filters library and trigger that after the barba JS page transition completes but I am having a hard time figuring that out.
The link to the staging site is here:
https://sbi-staging.webflow.io/work

Hey @caleb.raney! Could you try using these?

window.fsAttributes.destroy();
window.fsAttributes.init();

These should restart the CMS Filter Attribute as you wish

1 Like