Hey there, I'm using Docusaurus tabs and having an issue where code blocks within all-but-the-first tabs don't render, but instead seem to set NaN as the width.
The first tab renders fine, but the second gives a stack trace like:
Warning: `NaN` is an invalid value for the `width` css style property.
div
LineContainer@webpack-internal:///./node_modules/@code-hike/mdx/dist/components.esm.mjs:2050:23
LineGroup@webpack-internal:///./node_modules/@code-hike/mdx/dist/components.esm.mjs:2007:19
Lines@webpack-internal:///./node_modules/@code-hike/mdx/dist/components.esm.mjs:1985:15
div
div
Content$1@webpack-internal:///./node_modules/@code-hike/mdx/dist/components.esm.mjs:1895:19
code
Container@webpack-internal:///./node_modules/@code-hike/mdx/dist/components.esm.mjs:1887:19
SmoothContainer@webpack-internal:///./node_modules/@code-hike/mdx/dist/components.esm.mjs:1866:25
SmoothLines
div
Wrapper@webpack-internal:///./node_modules/@code-hike/mdx/dist/components.esm.mjs:2150:17
AfterDimensions@webpack-internal:///./node_modules/@code-hike/mdx/dist/components.esm.mjs:2135:25
CodeTween@webpack-internal:///./node_modules/@code-hike/mdx/dist/components.esm.mjs:2124:39
CodeSpring@webpack-internal:///./node_modules/@code-hike/mdx/dist/components.esm.mjs:2425:28
div
InnerCode@webpack-internal:///./node_modules/@code-hike/mdx/dist/components.esm.mjs:3445:26
Code@webpack-internal:///./node_modules/@code-hike/mdx/dist/components.esm.mjs:3424:64
div
TabItem@webpack-internal:///./node_modules/@docusaurus/theme-classic/lib/theme/TabItem/index.js:13:58
div
div
TabsComponent@webpack-internal:///./node_modules/@docusaurus/theme-classic/lib/theme/Tabs/index.js:20:168
Tabs@webpack-internal:///./node_modules/@docusaurus/theme-classic/lib/theme/Tabs/index.js:25:3502
Hey there, I'm using Docusaurus tabs and having an issue where code blocks within all-but-the-first tabs don't render, but instead seem to set
NaN
as the width.The first tab renders fine, but the second gives a stack trace like:
My docusaurus config is:
Any ideas on what could be going wrong here?