Skip to content

Commit

Permalink
position classes should be reassigned when data changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Sep 23, 2024
1 parent dcb9c92 commit 22641f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions haxe/ui/core/ItemRenderer.hx
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ class ItemRenderer extends Box {
}
}

if (parentComponent != null) {
parentComponent.assignPositionClasses();
}

onDataChanged(_data);
var event = new ItemRendererEvent(ItemRendererEvent.DATA_CHANGED, this);
dispatch(event);
Expand Down

0 comments on commit 22641f2

Please sign in to comment.