Bug reportNov 23, 2026· 0:26· 9 views
FullCalendar v6: next/prev ignores dateIncrement after the first click in a custom month view
0:26 total
Comments · 0
Be the first to comment.
Bug reportby SceneRecap AI
highFullCalendar core date navigation for custom dayGrid views: computing the next/prev range when dateIncrement (weeks) is smaller than duration (months). The month range snapping or alignment seems to override the increment, so the start can stay put or jump by several weeks.
os: macOSdpr: 1page: FullCalendar #4678 dayGrid month + 1-week increment testlocale: en-USbrowser: Chromium 151.0.7922.34library: FullCalendar 6.1.15 (cdn.jsdelivr.net index.global.min.js)timezone: Europe/Berlinviewport: 1280x720view_config: custom dayGrid, duration:{months:1}, dateIncrement:{weeks:1}, initial date 2024-01-01
Repro steps
- 1.Open a page with a FullCalendar 6.1.15 custom dayGrid view using duration {months:1}, dateIncrement {weeks:1} and initial date 2024-01-01. The range start shown is 2023-12-30.
- 2.Click the next arrow button once. The range start moves to 2024-01-06 (+7 days). This is the working control.
- 3.Click the next arrow button a second time.
- 4.Click the next arrow button a third time.
- 5.Click the prev button.
- 6.Click the prev button again.
Expected
Each next click advances the range start by exactly 7 days and each prev click moves it back by exactly 7 days, matching dateIncrement {weeks:1}.
Actual
The first next click advances 7 days correctly. The second and third next clicks do not move the range at all (+0 days, start stays 2024-01-06). The following prev clicks jump back 14 days (to 2023-12-23) and then 35 days (to 2023-11-18), not 7 days each.
Evidence
visualControl case works: after the first next click the header reads 'Current range start: 2024-01-06, nav count: 5' and the status reads 'Nav #5: +7 days (1 wk) ✓ 1-week step'. The grid starts on January 7.
consoleWarning: 'FIRST BAD MOMENT: 2nd next click, range start unchanged at 2024-01-06. Expected: advance by 1 week. Actual: no navigation occurred.'
visualStatus reads 'Nav #6: +0 days (0 wk) ✗ expected 7 days, got 0'. Range start still 2024-01-06. The grid briefly renders faded, then re-renders unchanged.
visualStatus reads 'Nav #7: +0 days (0 wk) ✗ expected 7 days, got 0'. Range start still 2024-01-06.
visualRed error panel: 'v6.1.15 dayGrid: unexpected step size detected ✗'. It lists Click 1 at +7 days ✓, and Clicks 2 and 3 at +0 days ✗ expected 7.
visualAfter the first prev click: 'Current range start: 2023-12-23, nav count: 8' and 'Nav #8: +-14 days (-2 wk) ✗ expected 7 days, got -14'. The grid starts on December 24.
visualAfter the second prev click: 'Current range start: 2023-11-18, nav count: 9' and 'Nav #9: +-35 days (-5 wk) ✗ expected 7 days, got -35'. Title is November to December 2023.
consoleBefore any user click, the page's nav check logs starts=[2023-12-30, 2024-01-06, 2024-01-06, 2024-01-06], deltas=[7,0,0] and 'SNAP BUG: unexpected step size detected'. This suggests the same pattern from earlier navigation on this page.
visualAt load the status already reads 'Nav #4: +-7 days (-1 wk) ✗ expected 7 days, got -7' with range start 2023-12-30 and nav count 4.
Issue markdown (copy-paste ready)
## Summary
In FullCalendar 6.1.15, a custom dayGrid view with `duration: {months: 1}` and `dateIncrement: {weeks: 1}` does not step by one week. The first next click works. Later next clicks do nothing, and prev clicks jump back by 2 or 5 weeks.
## Environment
- Chromium 151.0.7922.34, macOS
- Viewport 1280x720, DPR 1, locale en-US, timezone Europe/Berlin
- FullCalendar 6.1.15 from cdn.jsdelivr.net (`index.global.min.js`)
- View: custom dayGrid, `duration: {months:1}`, `dateIncrement: {weeks:1}`, initial date 2024-01-01
## Steps to reproduce
1. Load the view. Range start is 2023-12-30 (1.0s).
2. Click the next arrow button (7.6s).
3. Click the next arrow button again (11.2s).
4. Click the next arrow button again (14.3s).
5. Click the prev button (19.9s).
6. Click the prev button again (22.3s).
## Expected
Every next click moves the range start forward by 7 days. Every prev click moves it back by 7 days.
## Actual
- Step 2 (control, works): start moves 2023-12-30 to 2024-01-06, +7 days ✓ (9.0s).
- Step 3: start stays 2024-01-06, +0 days (13.0s). Console logs 'FIRST BAD MOMENT: 2nd next click, range start unchanged at 2024-01-06' (11.6s).
- Step 4: start stays 2024-01-06, +0 days (15.0s).
- Step 5: start moves to 2023-12-23, -14 days (21.0s).
- Step 6: start moves to 2023-11-18, -35 days (23.0s).
## Evidence
- 0.5s: console nav check shows deltas=[7,0,0] and 'SNAP BUG: unexpected step size detected'.
- 1.0s: status already shows 'Nav #4: +-7 days (-1 wk) ✗ expected 7 days, got -7'.
- 13.0s: grid briefly renders faded during the no-op navigation, then shows the same range.
- 17.0s: red panel 'v6.1.15 dayGrid: unexpected step size detected ✗' lists Click 1 +7 ✓, Clicks 2 and 3 +0 ✗.
- 21.0s and 23.0s: status lines show -14 and -35 day steps.
## Suspected area
Next/prev range calculation for custom views where `dateIncrement` is smaller than `duration`. The month range alignment appears to override the week increment.
*Recorded with SceneRecap.*This report was written by SceneRecap from a screen recording. Try SceneRecap free
Turn a screen recording into a bug report like this one.
Repro steps, expected vs actual and the console and network evidence, each with a timestamp. On every plan, Free included.
Try SceneRecap free →