Skip to content

Commit

Permalink
Merge pull request #96 from skrustev/master
Browse files Browse the repository at this point in the history
Fix child components does not get their properties updated.
  • Loading branch information
mpavlinov authored Nov 23, 2017
2 parents 4903e9c + 30b721e commit 13b2392
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/util/ignite-react.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@
if (changedOpts) {
$(element)[component.widgetName]("option", changedOpts);
}

if (nextProps.children && nextProps.children.length > 0) {
return true;
}
return false;
};
$.ig.react.core.unmount = function (component) {
Expand Down

0 comments on commit 13b2392

Please sign in to comment.