Closed arthurdenner closed 3 years ago
Latest commit: a2bb854c4580e55c9f35bbaf3754c8a3f5b614c4
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Hi @arthurdenner. Thanks a lot for the observation, repro, and the PR. It is merged and deployed as v1.1.16
.
Hi! 👋🏽
This PR proposes a fix to a bug found when investigating https://github.com/remotion-dev/remotion/issues/496: the copy button works fine in development but doesn't work in production.
After investigation, I noticed the reason being the "cast" of
pre.current.querySelectorAll
to an array.I created a repo with a reproducible scenario and more information about the issue and the proposed fix: https://github.com/arthurdenner/docusaurus-twoslash-bug