code-hike / codehike

Marvellous code walkthroughs
https://codehike.org
MIT License
4.39k stars 135 forks source link

Code hike code block hides inside Tabs #371

Closed ahigueratw closed 1 year ago

ahigueratw commented 1 year ago

Hi, I'm searching help on this issue.

Inside @twilio-paste/tabs component the code sections from mdx component are hide on first load. The code block shows up when the window is resized.

Maybe this is related to https://github.com/code-hike/codehike/issues/319 and https://github.com/code-hike/codehike/issues/279 because the described behaviour is similar.

I upload an example of this issue here https://stackblitz.com/github/ahigueratw/code-hike-tabs-example?file=pages%2Findex.jsx

pomber commented 1 year ago

Thanks for reporting, see https://github.com/code-hike/codehike/issues/372#issuecomment-1584272351