Comments (5)
I see you had another change after updating the package version. Can I ask you to downgrade the package version, to be sure that the problem is definitely in the new version? And also please note which one is the latest "right" working version of the package.
Thank you!
from monaco-react.
Why I am asking this is because here is an example of ControlledEditor (which you are using) in version 2.3.0, and, as I saw, everything is okay so far.
from monaco-react.
you are right, rolling back React Monaco doesn't fix it. I can see what's happening now. It keeps emitting on change events, so it creates a feedback loop and runs away. I can see in the logs that the loops are alternating last char missing, last char present. I will probably just move to the uncontrolled input and that should solve the problem
from monaco-react.
Okay. And Please let me know if everything is okay, and we can close the issue.
from monaco-react.
so, i have left it as the controlled editor, but just removed the feedback of the state into the Editor component, so it is no longer crashing, but I don't think it is working correctly. I will have another look at it when i have some time
from monaco-react.
Related Issues (20)
- "setTheme" gets called every time a new instance of Editor is initialised HOT 1
- Overlapping lines decorations HOT 1
- trigger('findWithArgs') payload
- View is not formatted when the value is set after an API call
- DeltaDecorations HOT 1
- How should I integrate Monaco SQL Language? HOT 4
- How to add an LSP for Solidity? HOT 3
- Cursor is not visible & selected text in editor is not highlighted. HOT 2
- Cursor Not Visible On Widow 11
- How to implement sync scroll preview?
- [Bug] Paste in editor context menu didn't work
- How to add TailwindCSS Intellisense and Prettier AutoSorting plugin? HOT 1
- Uncaught TypeError: t.getModifierState is not a function
- Editor cannot be used with Next.js HOT 1
- Recurring errors in console when loading Monaco React HOT 1
- Provide Copy / Paste Disabled : user should not allowed to copy and paste code -- configurable.
- monaco-editor 0.43 loaded in codesandbox when using monaco-react 1.6 HOT 2
- Encountered errors when use webpack as bundler HOT 1
- add merge action icons in a diff editor HOT 2
- [Bug] editor minimap option failed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monaco-react.