Skip to content
Bug reportDec 2, 2026· 0:19· 9 views

Mantine TimePicker: typing ':' stays in the hours field — '1:30' becomes '13:00'

0:19 total

Comments · 0

Be the first to comment.

Bug reportby SceneRecap AI

medium@mantine/dates TimePicker segment keyboard handling (onKeyDown for the hours, minutes and seconds inputs). The ':' separator key should advance focus to the next segment.
os: macOSdpr: 1page: /dates/time-pickerlocale: en-USbrowser: Chromium 151.0.7922.34timezone: Europe/Berlinviewport: 1280x720mantine_docs_version: v9.8.3

Repro steps

  1. 1.Open the Mantine docs TimePicker page at /dates/time-picker.
  2. 2.Scroll to the 'With seconds' section. The demo field shows '-- : -- : --'.
  3. 3.Click the hours segment of the 'With seconds' demo (target 'hours (bug case)').
  4. 4.Type '1:30', the intended input per the recording title. The keystrokes are not captured in the event log.
  5. 5.Look at the field value.

Expected

Typing ':' after '1' ends the hours segment and moves focus to minutes. The field then reads '01 : 30 : --'.

Actual

The hours segment reads '13' at 13.0s, and the minutes segment reads '00' at 15.0s. The field shows '13 : 00 : --' instead of '01 : 30 : --'. This is consistent with ':' being ignored, so '3' was added to the hours value.

Evidence

visualControl case: in the Usage demo, the user clicks the 'hours' spinbutton and the hours segment shows '01' highlighted.
visualControl case: after Tab at 5.5s, the Usage demo shows '01 : --'. The hours value entered with Tab as the separator is kept as expected.
visualThe 'With seconds' demo is empty, '-- : -- : --', before any input.
visualThe user clicks the hours segment of the 'With seconds' demo and it becomes highlighted.
visualThe field reads '13 : -- : --' with the minutes segment highlighted. The hours segment holds 13, not 01.
visualThe field reads '13 : 00 : --' with minutes '00' highlighted, not the intended '30'.
visualThe wrong value '13 : 00 : --' stays the same.
Issue markdown (copy-paste ready)
## Summary
In the TimePicker 'With seconds' demo, typing `:` does not move focus out of the hours segment. Typing `1:30` gives `13 : 00 : --` instead of `01 : 30 : --`.

## Environment
- Chromium 151.0.7922.34, macOS
- Viewport 1280x720, DPR 1, locale en-US, timezone Europe/Berlin
- Mantine docs v9.8.3, page `/dates/time-picker`

## Steps to reproduce
1. Open `/dates/time-picker` (0s).
2. Scroll to the **With seconds** section. The field shows `-- : -- : --` (9.0s).
3. Click the hours segment (10.8s).
4. Type `1:30`. This is the intended input from the recording title. Keystrokes were not logged.

## Expected
`:` ends the hours segment and moves focus to minutes. The field reads `01 : 30 : --`.

## Actual
- At 13.0s the field reads `13 : -- : --`.
- At 15.0s and 17.0s it reads `13 : 00 : --`.

This is consistent with `:` being ignored, so `3` was added to the hours value.

## Control case (works)
In the **Usage** demo, the user clicked hours, entered `01`, then pressed Tab (4.4s to 5.5s). At 7.0s the field correctly shows `01 : --`. Using Tab as the separator keeps the hours value.

## First bad moment
13.0s: hours shows `13` instead of `01`.

## Suggested area
`@mantine/dates` TimePicker segment keydown handling. Treat `:` (and possibly other separators) as advance to the next segment.

*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 →
Mantine TimePicker: typing ':' stays in the hours field — '1:30' becomes '13:00' · SceneRecap