@fluxhub/fluxhub-lib 19.0.156 → 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,9 +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;
9557
9559
  this.b_init1 = true;
9558
- console.log('👁️ Chiamando ensure_visible()');
9559
- this.ensure_visible();
9560
+ // Chiama ensure_visible() SOLO al primo caricamento per evitare loop infiniti
9561
+ if (isFirstLoad) {
9562
+ console.log('👁️ Chiamando ensure_visible() (SOLO PRIMA VOLTA)');
9563
+ this.ensure_visible();
9564
+ }
9560
9565
  if (localStorage.getItem(this.grid_customer_preference_key + '_COLS') == null &&
9561
9566
  this.autosize_at_ini)
9562
9567
  setTimeout(() => {