"setTheme" gets called every time a new instance of Editor is initialised
saikatmitra91 opened this issue · comments
Saikat Mitra commented
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:
- Go to https://www.empirical.run/gpt-3-5-turbo-vs-gpt-4
- Click on one of the "Schema" buttons
- Look at the cells closely. The currently drawn cells flash while the schema drawer opens.
Suren Atoyan commented
This issue should be addressed to microsoft/monaco-editor.