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

2 Likes

Hey @Support-Luis , I am currently facing the same issue, I have page with multiple attributes as cmsload/combine and I need them to work with Barba.js…

Unfortunately, i am getting this error now:

window.fsAttributes.init is not a function

Any idea?
Thanks

Hey @me11! Can you share a link?