Skip to content
Snippets Groups Projects
Commit cdfad273 authored by jojohoch's avatar jojohoch
Browse files

[player] Fix timing of hiding sections on page 1 in paging mode separate

parent cc068423
No related branches found
No related tags found
No related merge requests found
Pipeline #55305 passed
......@@ -50,8 +50,7 @@ export class SectionVisibilityHandlingDirective implements OnInit, OnDestroy {
}
private addSubscription(): void {
// prevent ExpressionChangedAfterItHasBeenCheckedError in snap and scroll mode
setTimeout(() => this.displayHiddenSection());
this.displayHiddenSection();
merge(
this.unitStateService.elementCodeChanged,
this.stateVariableStateService.elementCodeChanged
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment