vuejs / repl

Vue SFC REPL as a Vue 3 component
https://repl-vuejs.vercel.app
MIT License
908 stars 163 forks source link

fix(codemirror): fix codemirror editor showing nothing on start on small layouts when starting in ouput mode #181

Closed pdanpdan closed 8 months ago

pdanpdan commented 9 months ago

CodeMirror Editor tries to auto-size when it starts. If the Repl start in Output mode on small layouts CodeMirror will not be able to autosize because it has display: none. From the POV of user the only solution is to change editor tabs to see the code (if it has more tabs).

vercel[bot] commented 9 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
repl ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 12, 2023 11:41pm