TexteaInc / json-viewer

not only a JSON viewer
https://viewer.textea.io
MIT License
439 stars 34 forks source link

JSON Indexing issue leads to PATH error #419

Closed kozlovskisarmands closed 10 months ago

kozlovskisarmands commented 10 months ago

Hello! I'll attach a video displaying the problem, but in short - if we have a huge JSON (for example, 400 elements) the 400 elements get divided into smaller arrays of 100 each. If we edit any of the first 100 elements, it works as expected, but if we open up 3rd of 4 divided arrays, the indexing starts from 0 for each of them - so essentially we are again editing 0 (first element) even tho we opened 3rd subset of arrays where the index should be 300. Also attached a screenshot of expected indexing behaviour: image json-viewer.webm

Hopefully this can be resolved ;) Cheers, Armands

pionxzh commented 10 months ago

Fixed in v3.2.3. 🙏

kozlovskisarmands commented 10 months ago

Thanks for your swift response and solution. ;)