ToC placeholder not ready yet when docs page loads

Description

If the table of contents is turned on (using UIO) in the Infusion Documentation website, then when the page is reloaded, the ToC component seems to try to instantiate before the HTML is ready; the error is "Instantiation of autoInit component with type fluid.tableOfContents.levels failed, since selector " body .flc-toc-tocContainer " did not match any markup in the document"

To reproduce:
1) Visit http://docs.fluidproject.org/infusion/development/
2) Use UIO to turn on the table of contents
3) Reload the page
4) Check the console. You'll see the error messages. You'll also note that the UIO sliding panel won't open.

Environment

None

Activity

Show:

Anastasia CheethamSeptember 29, 2015 at 7:26 PM

The new docs-core/docs-template based documentation system does NOT exhibit this problem, so depending on how soon we expect to convert the Infusion docs to the new system, we may simply fix this issue through that conversion.

Cannot Reproduce

Details

Assignee

Reporter

Priority

Created September 29, 2015 at 7:24 PM
Updated March 14, 2022 at 5:12 PM
Resolved March 14, 2022 at 5:12 PM

Flag notifications