You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user specifies a depth to be collapsed, the intention is to make the JSON tidy so it is easy to visually parse.
Currently the `deep` prop only collapses at the specific level passed, and when a user opens that depth, all children are fully open.
I think this should collapse all children beyond the depth level, so that when the items are opened up the children are collapsed.
That said, for backwards compatibility I've implemented this as a new prop, defaulting to false, so that anyone upgrading won't see a change in behaviour.
0 commit comments