-
Notifications
You must be signed in to change notification settings - Fork 113
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
Transform is occasionally applied without pressing button #401
Comments
Thanks for reporting, I can consistently reproduce the issue the way you describe it, like:
The reason is that the To solve this, we'll have to make sure you can't accidentally mutate the oringial |
This looks like a promising approach: https://github.com/kourge/readonly-proxy |
I tried out |
Fixed now in |
Yup. Now it gives me TypeError: unable to delete property, which is much better than accidentally losing everything. |
👍 |
I cannot begin to tell you how much I wish I could consistently reproduce this error, but its reasonably consistent when you make an error typing in a function. A good example (in my experience) is typing
.splice(2)
and then deleting it, which will leave you with 2 things in your array or an empty array without ever once hitting 'transform' and without the ability to undo it, resulting in a loss of data.I am using the website, https://jsoneditoronline.org/, and encounter this unfortunately quite often.
Browser: Chrome 120.0.6099.217 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered: