Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

pdanpdan
Copy link
Contributor

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).

…all layouts when starting in ouput mode

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).
Copy link

vercel bot commented Dec 12, 2023

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

@yyx990803 yyx990803 merged commit 6d7598d into vuejs:main Jan 3, 2024
@pdanpdan pdanpdan deleted the feature/codemirror_start_empty branch January 3, 2024 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants