From 53ecea0e32cc8cba68ae597c12a2238231c37936 Mon Sep 17 00:00:00 2001 From: nbrouand <7816908+nbrouand@users.noreply.github.com> Date: Fri, 22 Mar 2024 16:27:12 +0100 Subject: [PATCH] fix(ui): Remove scroll on click (#39) --- .../scenarios/components/execution/detail/execution.component.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/chutney/ui/src/app/modules/scenarios/components/execution/detail/execution.component.ts b/chutney/ui/src/app/modules/scenarios/components/execution/detail/execution.component.ts index 4be9dbc22..6b3ead54b 100644 --- a/chutney/ui/src/app/modules/scenarios/components/execution/detail/execution.component.ts +++ b/chutney/ui/src/app/modules/scenarios/components/execution/detail/execution.component.ts @@ -536,7 +536,6 @@ export class ScenarioExecutionComponent implements OnInit, OnDestroy, AfterViewI if (scrollIntoView && step) { document.getElementById(step['rowId']).scrollIntoView({behavior: 'smooth', block: 'start'}); } - this.elementRef.nativeElement.scrollIntoView({behavior: 'instant', block: 'start'}) } private computeAllStepRowId() {