Schedule day panel scrolls back to the current time every 5 minutes, overriding the user's scroll position

Author: johannesjoCreated Sep 4, 2026Updated Sep 16, 2026

The schedule day panel re-scrolls itself to "now" every 5 minutes, with no check for whether the user has scrolled somewhere else. If you open the panel to look at your evening, you get yanked back to the current time on a timer for as long as the panel stays open.

Steps to reproduce

  1. Open the schedule day panel (right panel on desktop, bottom sheet on mobile).
  2. Scroll away from the current time — e.g. down to the evening, or up to the morning.
  3. Do nothing and wait.

What happens: within ~5 minutes the panel scrolls itself back to the current time. It keeps doing this every 5 minutes.

What should happen: the auto-scroll should fire on open and then leave the user's scroll position alone (the usual pattern is to stop re-scrolling once the user has scrolled manually, or to only re-scroll while the viewport is still near "now").

Why

src/app/features/schedule/schedule-day-panel/schedule-day-panel.component.ts:150-154:

typescript
constructor() {
  effect(() => {
    // Track current time row changes to trigger auto-scroll
    this.currentTimeRow();
    this._scheduleScrollToCurrentTime();
  });
}

The effect tracks currentTimeRow() and re-runs the scroll on every change, unconditionally.

  • currentTimeRow (:137-146) reads this._scheduleService.scheduleRefreshTick() and returns Math.round(hoursToday * FH).
  • scheduleRefreshTick is interval(2 * 60 * 1000) (schedule.service.ts:49), so the computed re-evaluates every 2 minutes.
  • FH = 12 (schedule.const.ts:58), i.e. 12 rows per hour, so the value changes once every 5 minutes — which is how often the effect actually re-runs and the scroll fires.

ngAfterViewInit() (:164) already does the initial scroll, so the effect's only job is the periodic re-scroll.

Version

Shipped in v16.0.0 (51ae6d97, "feat(scheduleRightPanel): add first draft for schedule panel"), which is the same commit that introduced the effect. Still present in v18.21.2 / current master (af33898).

Note

Found during an automated PR review sweep; pre-existing on master.

https://claude.ai/code/session_01SSNFuW2G9kKxJvp4sVQjq8

Source: super-productivity/super-productivity