You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See error spam in console stemming from toc query selector var oldActiveTocLink = tocElement.querySelector("." + options.activeLinkClass);
Uncaught TypeError: Cannot read properties of undefined (reading 'querySelector')
at Object.updateToc (chunk-Z2YT5RER.js?v=aaea24c7:257:41)
at HTMLDocument.<anonymous> (chunk-Z2YT5RER.js?v=aaea24c7:648:16)
at HTMLDocument.<anonymous> (chunk-Z2YT5RER.js?v=aaea24c7:736:10)
Describe the bug
Console error spam from toc (table of contents), if toc: { disable: true } is set and scrolling is triggered.
To Reproduce
https://stackblitz.com/edit/github-jmtuvf?file=.storybook%2Fpreview.ts,src%2Fstories%2FButton.stories.ts&preset=node
preview.tsx
Button.stories.ts
var oldActiveTocLink = tocElement.querySelector("." + options.activeLinkClass);
System
Additional context
Many thanks in advance!
The text was updated successfully, but these errors were encountered: