question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: Collapse default by depth

See original GitHub issue

Hi Again 😄

I would like to collapse by default until a certain depth of the JSON tree.

Suggestion: Change collapsed prop to allow numbers, and if a number is inserted - Expand until the given depth, for example : 0 - collapse all (including root), 1 - expand root, 2 - expand root and direct descendants, etc…

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mac-s-gcommented, Jun 21, 2017

This is a great idea! I’ll update this issue when I have a PR.

0reactions
mac-s-gcommented, Jun 25, 2017

published: react-json-view@1.10.2

let me know how that works for you

Read more comments on GitHub >

github_iconTop Results From Across the Web

More Control over Expanding/Collapsing Layers
Feature Request : More Control over Expanding/Collapsing Layers ... This way you can "reset" a map to a default presentation.
Read more >
Outline view: collapsed by default (introduce optional setting ...
Very simple request: I'd like the outline view tree to be collapsed by default. It'd be great if there were a configuration setting...
Read more >
Collapse file tree by default if the merge request changes only ...
When there's only changes in a single file, the file browser has a lot less value. Sure, it shows you the location of...
Read more >
Feature Request: Close All Folds - Oxygen XML Forum
Hello, Run the action Collapse Child Folds on the root element of the document with the shortcut of the action or by right...
Read more >
Add feature to collapse all replies to top level comments and ...
Set the Subreddits = choose the Default Comment Depth and Minimum Comments for specific subreddits. (Another option to limit comment depth is ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found