diff --git a/desktop/plugins/layout/Inspector.tsx b/desktop/plugins/layout/Inspector.tsx index cb6462cc5..f7a3a5c17 100644 --- a/desktop/plugins/layout/Inspector.tsx +++ b/desktop/plugins/layout/Inspector.tsx @@ -335,6 +335,9 @@ export default class Inspector extends Component { async getAndExpandPath(path: Array) { await Promise.all(path.map((id) => this.getChildren(id, {}))); + for (const id of path) { + this.updateElement(id, {expanded: true}); + } this.onElementSelected()(path[path.length - 1]); }