Closed
Description
Search terms
script, defer, svg, head.end, body.begin, plugin, theme
Expected Behavior
The size of a script included in head.end
should not affect whether icons are visible.
Actual Behavior
Large scripts cause most icons (dropdown icons, etc.) to be invisible. Adding defer
to the script helps, but the icons are still sometimes invisible.
Steps to reproduce the bug
A minimal sample project with the issue can be found here.
More specifically,
- Clone https://github.com/personalizedrefrigerator/bug-report.git
- Switch to the
typedoc/bug-include-script
branch. - Run
npm i
- Run
npm run build
- Run
npm run doc
- Start a server:
cd docs && python3 -m http.server
. - Open the documentation (tested in Firefox and Chromium on Ubuntu 24.04).
Environment
- Typedoc version: 0.25.13
- TypeScript version: 5.4.5
- Node.js version: v22.1.0
- OS: Ubuntu 24.04