Skip to content

Commit 87f74b6

Browse files
committed
fix: Propagate mounted state to Grid Row components (#9107)
1 parent fd952e8 commit 87f74b6

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

src/grid/Row.mjs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,22 @@ class Row extends Component {
7575
{cn: []}
7676
}
7777

78+
/**
79+
* Triggered after the mounted config got changed
80+
* @param {Boolean} value
81+
* @param {Boolean} oldValue
82+
* @protected
83+
*/
84+
afterSetMounted(value, oldValue) {
85+
super.afterSetMounted(value, oldValue);
86+
87+
if (this.components) {
88+
Object.values(this.components).forEach(component => {
89+
component.mounted = value
90+
})
91+
}
92+
}
93+
7894
/**
7995
* Generates the VDOM configuration for a single cell.
8096
*

0 commit comments

Comments
 (0)