fix(json-schema-2020-12): enable sub-tree expansion optimization (#8609)

Schema Object sub-trees are not renderer until
expanded.

Before the entire Scheam Object tree was rendered
and collapsed sub-trees here hidden by CSS.

Refs #8606
This commit is contained in:
Vladimír Gorej
2023-05-02 13:37:08 +02:00
committed by GitHub
parent c44e38dabb
commit 37e8f00b6f

View File

@@ -104,7 +104,7 @@ export const withJSONSchemaContext = (Component, overrides = {}) => {
* By default, entire schema tree is rendered and collapsed parts of the
* tree are hidden with css.
*/
optimizeExpansion: false,
optimizeExpansion: true,
...overrides.config,
},
fn: {