Skip to content
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

fix: flash when appending lines in Monaco editor #1272

Merged
merged 2 commits into from
Feb 6, 2024

Conversation

KermanX
Copy link
Member

@KermanX KermanX commented Feb 5, 2024

Previously, the Monaco editor flashes when appending new lines:

1707096272891

This PR sets the height of the Monaco iframe to 200% (previously 100%).

This method has not been found to have any side effects so far, although it may not be the most elegant solution.

@antfu antfu merged commit d3e5cf8 into slidevjs:main Feb 6, 2024
8 checks passed
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.

None yet

2 participants