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

fix: do not collapse top level on Collapse All in json samples #1209

Merged
merged 2 commits into from
Mar 20, 2020
Merged

fix: do not collapse top level on Collapse All in json samples #1209

merged 2 commits into from
Mar 20, 2020

Conversation

lesyk-lesyk
Copy link

@lesyk-lesyk lesyk-lesyk commented Mar 20, 2020

This PR updates the collapseAll method to avoid collapsing whole object/array in JSON preview.

Fixes #1164

@RomanHotsiy RomanHotsiy changed the title fix: update collapseAll method fix: do not collapse top level on Collapse All in json samples Mar 20, 2020
@RomanHotsiy RomanHotsiy merged commit 830371b into Redocly:master Mar 20, 2020
@lesyk-lesyk lesyk-lesyk deleted the fix/collapse-all branch March 20, 2020 13:34
jancerman pushed a commit to Kontent-ai-Learn/kontent-ai-learn-redoc that referenced this pull request Jun 5, 2020
…ly#1209)

* fix: update collapseAll method
to avoid collapsing whole object/array
* fix: remove extra "slice()" call
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

Successfully merging this pull request may close these issues.

When you click on 'Collapse all' there is no + visible for expansion
2 participants