Hi guys,
It seems that the TOC attributes is not supported by Firefox.
If I try to load a page that contains this script attributes, it doesn’t load.
There is a website using it to have a look at it : Travail hybride : définition, avantages et enjeux pour les entreprises
Any advice ?
Hello @Fabien_mnt , I am testing this on FIrefox and it works as expected Loom | Free Screen & Video Recording Software | Loom
On which OS are you testing this? Could also please share a screen recording
Hello @josephmukunga
Please find a video recording there TOC problem on Firefox
I’m on the last Mac OS 13.4.1
Thanks
I have identified that it’s the interactions that do not work on the blog pages. Does it work as expected when you remove the TOC script?
Hi Joseph,
As you can see on the video everything works without this script : Webflow - Toc Attributes not working on Firefox
Thanks
Hello @Fabien_mnt, this is a bug. I’ll log it so the team can look into it
Hi @josephmukunga. How are you ?
Do you have any news ?
hey @Fabien_mnt! Seems that your interactions are getting stuck after the page loads.
Can you try adding this snippet to your </body>
?
<script>
window.fsAttributes = window.fsAttributes || [];
window.fsAttributes.push([
'toc',
(tableInstances) => {
console.log('toc Successfully loaded!');
window.Webflow && window.Webflow.destroy();
window.Webflow && window.Webflow.ready();
window.Webflow && window.Webflow.require('ix2').init();
document.dispatchEvent(new Event('readystatechange'));
},
]);
</script>
This should reset Webflow’s interaction engine after Table of Contents is done loading
1 Like
Hi Luis,
Thanks it works perfectly !
1 Like