Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

(Suggestion) Expand / collapse node and all its children #591

Closed
jerikson opened this issue Mar 20, 2017 · 4 comments
Closed

(Suggestion) Expand / collapse node and all its children #591

jerikson opened this issue Mar 20, 2017 · 4 comments

Comments

@jerikson
Copy link

As possible using Chrome Developer Tools:

suggestionjerikson

By clickling either Ctrl + Alt + ▶ using Windows. Or Opt + ▶ using a Mac would
toggle the html nodes and all of its children ▼

I know Chrome gives the opportunity to manually configure short-commands..
chrome://extensions/configureCommands

However the end-user of react-devtools would expect the same behavior anyway?
Obviously, this is not a high prior issue, and I have not completely thought this through myself, maybe there is a good reason for this.

https://developer.chrome.com/extensions/commands
https://developers.google.com/web/tools/chrome-devtools/shortcuts

Kind regards.
Jimmy

@gaearon
Copy link
Contributor

gaearon commented Apr 21, 2017

I’d happily review a PR adding this.

@shriah
Copy link
Contributor

shriah commented Apr 23, 2017

Added a pull request for this. It works but need to test it on a website with large number of nodes.

@gaearon
Copy link
Contributor

gaearon commented May 2, 2017

Fixed via #621.
Will be out whenever we cut the next patch (probably in a week or so).

@jerikson
Copy link
Author

Thanks everyone! 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants