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

Original and Modified models set earlier #522

Merged

Conversation

StefanDBTLabs
Copy link
Contributor

@StefanDBTLabs StefanDBTLabs commented Aug 21, 2023

These 2 hooks need to happen before Original (line 188) and Modified (line 100) are updated to make sure we are updating the right models. This fix is related to past pr #479

see existing editor still having the mode switching problem here: https://codesandbox.io/s/react-monaco-bug-vzgxt8?file=/src/App.js:888-1233

@suren-atoyan
Copy link
Owner

Hi, @StefanDBTLabs 👋 thanks for taking care of this.

I'll release the new version tomorrow.

@suren-atoyan suren-atoyan merged commit 53dbf7b into suren-atoyan:master Aug 22, 2023
@suren-atoyan
Copy link
Owner

done ✅ check v4.5.2

@StefanDBTLabs
Copy link
Contributor Author

thank you so much!

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