Skip to content

Commit

Permalink
do not auto scroll to the clicked step
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedhamidawan committed Sep 20, 2024
1 parent 642b3a6 commit f5ef84a
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,20 +117,6 @@ watch(
{ immediate: true }
);
// scroll to the job card when it is loaded (only on invocation route)
// TODO: Maybe do not do this on first load...
if (props.isFullPage) {
watch(
() => loadedJobInfo.value,
async (jobInfo) => {
if (jobInfo) {
scrollStepToView();
}
},
{ immediate: true }
);
}
onUnmounted(() => {
clearTimeout(pollTimeout.value);
});
Expand Down

0 comments on commit f5ef84a

Please sign in to comment.