@fluxhub/fluxhub-lib 19.0.157 → 19.0.158
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9554,12 +9554,14 @@ class FHGridComponent {
|
|
|
9554
9554
|
console.log('📐 Chiamando set_init_size()');
|
|
9555
9555
|
this.set_init_size();
|
|
9556
9556
|
}
|
|
9557
|
+
// Salva lo stato PRIMA di modificarlo per evitare ExpressionChangedAfterItHasBeenCheckedError
|
|
9558
|
+
const isFirstLoad = !this.b_init1;
|
|
9559
|
+
this.b_init1 = true;
|
|
9557
9560
|
// Chiama ensure_visible() SOLO al primo caricamento per evitare loop infiniti
|
|
9558
|
-
if (
|
|
9561
|
+
if (isFirstLoad) {
|
|
9559
9562
|
console.log('👁️ Chiamando ensure_visible() (SOLO PRIMA VOLTA)');
|
|
9560
9563
|
this.ensure_visible();
|
|
9561
9564
|
}
|
|
9562
|
-
this.b_init1 = true;
|
|
9563
9565
|
if (localStorage.getItem(this.grid_customer_preference_key + '_COLS') == null &&
|
|
9564
9566
|
this.autosize_at_ini)
|
|
9565
9567
|
setTimeout(() => {
|