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

"setTheme" gets called every time a new instance of Editor is initialised #593

Closed
saikatmitra91 opened this issue Mar 9, 2024 · 1 comment

Comments

@saikatmitra91
Copy link

Describe the bug
My app contains multiple instances of Editor some of which load dynamically.
Every time a new editor is initialised the theme gets set again causing a flash in all the other initialised editor instances as well.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://www.empirical.run/gpt-3-5-turbo-vs-gpt-4
  2. Click on one of the "Schema" buttons
  3. Look at the cells closely. The currently drawn cells flash while the schema drawer opens.
@suren-atoyan
Copy link
Owner

This issue should be addressed to microsoft/monaco-editor.

There is already one

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

No branches or pull requests

2 participants