@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.
@@ -22414,8 +22414,9 @@ class TestCaseLoopStepComponent {
22414
22414
  }
22415
22415
  this.cdr.detectChanges();
22416
22416
  }
22417
- // Auto-open Edit In depth instantly when user selects a condition from the autocomplete
22418
- this.onEditInDepth();
22417
+ // Auto-open Edit In depth when user selects a condition from the autocomplete.
22418
+ // Defer to next tick so autocomplete dropdown can close and event propagation completes.
22419
+ setTimeout(() => this.onEditInDepth(), 100);
22419
22420
  }
22420
22421
  buildTemplateVariablesForm() {
22421
22422
  if (!this.templateVariablesForm) {
@@ -23516,8 +23517,9 @@ class TestCaseConditionStepComponent {
23516
23517
  // Trigger change detection to update the template
23517
23518
  this.cdr.detectChanges();
23518
23519
  }
23519
- // Auto-open Edit In depth instantly when user selects a condition from the autocomplete
23520
- this.onEditInDepth();
23520
+ // Auto-open Edit In depth when user selects a condition from the autocomplete.
23521
+ // Defer to next tick so autocomplete dropdown can close and event propagation completes.
23522
+ setTimeout(() => this.onEditInDepth(), 100);
23521
23523
  }
23522
23524
  buildTemplateVariablesForm() {
23523
23525
  if (!this.templateVariablesForm) {
@@ -23582,8 +23584,9 @@ class TestCaseConditionStepComponent {
23582
23584
  // Trigger change detection to update the template
23583
23585
  this.cdr.detectChanges();
23584
23586
  }
23585
- // Auto-open Edit In depth instantly when user selects a condition from the ELSE IF autocomplete
23586
- this.onEditInDepth();
23587
+ // Auto-open Edit In depth when user selects a condition from the ELSE IF autocomplete.
23588
+ // Defer to next tick so autocomplete dropdown can close and event propagation completes.
23589
+ setTimeout(() => this.onEditInDepth(), 100);
23587
23590
  }
23588
23591
  buildElseTemplateVariablesForm(branch) {
23589
23592
  if (!branch.templateVariablesForm) {