diff --git a/packages/survey-angular-ui/src/components/action-bar/action-bar.component.ts b/packages/survey-angular-ui/src/components/action-bar/action-bar.component.ts index 532b22c730..6759aee052 100644 --- a/packages/survey-angular-ui/src/components/action-bar/action-bar.component.ts +++ b/packages/survey-angular-ui/src/components/action-bar/action-bar.component.ts @@ -20,8 +20,16 @@ export class ActionBarComponent extends BaseAngular { return this.handleClick !== undefined ? this.handleClick : true; } + protected override onModelChanged() { + super.onModelChanged(); + this.previousModel?.resetResponsivityManager(); + if (!!this.model.hasActions && !!this.container) { + this.model.initResponsivityManager(this.container.nativeElement); + } + } + onClick(event: Event): void { - if(this.allowOnClick) { + if (this.allowOnClick) { event.stopPropagation(); } }