TOC no working on Firefox

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 ? :upside_down_face:

Hello @Fabien_ouiflow , 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


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


Hello @Fabien_ouiflow, 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 ? :upside_down_face:

hey @Fabien_ouiflow! Seems that your interactions are getting stuck after the page loads.

Can you try adding this snippet to your </body>?

  window.fsAttributes = window.fsAttributes || [];
    (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'));

This should reset Webflow’s interaction engine after Table of Contents is done loading :slight_smile:

1 Like

Hi Luis,
Thanks it works perfectly ! :grinning:

1 Like