diff --git a/haxe/ui/core/Component.hx b/haxe/ui/core/Component.hx index 570a1fce5..953108237 100644 --- a/haxe/ui/core/Component.hx +++ b/haxe/ui/core/Component.hx @@ -1675,7 +1675,7 @@ class Component extends ComponentImpl behaviours.ready(); behaviours.update(); Toolkit.callLater(function() { - invalidateComponentData(); + // invalidateComponentData(); invalidateComponentStyle(); if (_compositeBuilder != null) { diff --git a/haxe/ui/layouts/VirtualLayout.hx b/haxe/ui/layouts/VirtualLayout.hx index e4c64ad05..20ea1da8c 100644 --- a/haxe/ui/layouts/VirtualLayout.hx +++ b/haxe/ui/layouts/VirtualLayout.hx @@ -138,7 +138,7 @@ class VirtualLayout extends ScrollViewLayout { if (n < contents.childComponents.length) { item = cast(contents.childComponents[n], ItemRenderer); if (item.data == data) { - item.invalidateComponentData(); + //item.invalidateComponentData(); continue; }