@cqa-lib/cqa-ui 1.1.275 → 1.1.276

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.
@@ -22390,8 +22390,9 @@ class TestCaseLoopStepComponent {
22390
22390
  }
22391
22391
  this.cdr.detectChanges();
22392
22392
  }
22393
- // Auto-open Edit In depth instantly when user selects a condition from the autocomplete
22394
- this.onEditInDepth();
22393
+ // Auto-open Edit In depth when user selects a condition from the autocomplete.
22394
+ // Defer to next tick so autocomplete dropdown can close and event propagation completes.
22395
+ setTimeout(() => this.onEditInDepth(), 100);
22395
22396
  }
22396
22397
  buildTemplateVariablesForm() {
22397
22398
  if (!this.templateVariablesForm) {
@@ -23482,8 +23483,9 @@ class TestCaseConditionStepComponent {
23482
23483
  // Trigger change detection to update the template
23483
23484
  this.cdr.detectChanges();
23484
23485
  }
23485
- // Auto-open Edit In depth instantly when user selects a condition from the autocomplete
23486
- this.onEditInDepth();
23486
+ // Auto-open Edit In depth when user selects a condition from the autocomplete.
23487
+ // Defer to next tick so autocomplete dropdown can close and event propagation completes.
23488
+ setTimeout(() => this.onEditInDepth(), 100);
23487
23489
  }
23488
23490
  buildTemplateVariablesForm() {
23489
23491
  if (!this.templateVariablesForm) {
@@ -23549,8 +23551,9 @@ class TestCaseConditionStepComponent {
23549
23551
  // Trigger change detection to update the template
23550
23552
  this.cdr.detectChanges();
23551
23553
  }
23552
- // Auto-open Edit In depth instantly when user selects a condition from the ELSE IF autocomplete
23553
- this.onEditInDepth();
23554
+ // Auto-open Edit In depth when user selects a condition from the ELSE IF autocomplete.
23555
+ // Defer to next tick so autocomplete dropdown can close and event propagation completes.
23556
+ setTimeout(() => this.onEditInDepth(), 100);
23554
23557
  }
23555
23558
  buildElseTemplateVariablesForm(branch) {
23556
23559
  if (!branch.templateVariablesForm) {