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

JSON Editor Very Slow #833

Open
logankrause16 opened this issue Jun 10, 2019 · 1 comment
Open

JSON Editor Very Slow #833

logankrause16 opened this issue Jun 10, 2019 · 1 comment

Comments

@logankrause16
Copy link

Hello All,

I am running into the issue of the JSONEditor being very very slow. My application works by clicking on an item in a list, and the JSONEditor populates with the selected JSON. I believe I have narrowed it down to the JSONEditor and will provide how I am declaring the items below. I am using this in Angular 7.

Declaration:
`public editorList: any[] = [];
public editorOptions: JsonEditorOptions;
public data: any;
@ViewChild(JsonEditorComponent) editor: JsonEditorComponent;

constructor() {
this.editorOptions = new JsonEditorOptions();
this.editorOptions.mode = 'code';
}
Use where data is a json object
<json-editor style="background-color: white;" [options]="editorOptions" [data]="data">

`
I have checked and confirmed that this is not a network issue. Once the data is loaded into the editor it takes nearly 5 seconds for the cursor to appear on a clicked line of code. Any help would be great.

Thanks.

@shockthetoast
Copy link

This repository is deprecated, you might want to check out the currently maintained repo to see if it addresses your issues.

From the front page:

This repo is no longer maintained (see also #800)

Development is continued at https://github.com/json-editor/json-editor

For details please visit json-editor/json-editor#5

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