Bug reportNov 23, 2026· 0:20· 8 views
Chakra UI v3: NumberInput text extends under the stepper buttons with long values
0:20 total
Comments · 0
Be the first to comment.
Bug reportby SceneRecap AI
lowNumberInput recipe/styles (input padding-end relative to the NumberInputControl stepper width) in Chakra UI v3
os: macOSdpr: 1url: /docs/components/number-inputlocale: en-USbrowser: Chromium 151.0.7922.34timezone: Europe/Berlinviewport: 1280x720chakra_docs_version: 3.38.0
Repro steps
- 1.Open /docs/components/number-input. The preview input shows the value 10.
- 2.Scroll down slightly so the preview is in view.
- 3.Click the 'Number input' textbox in the preview.
- 4.Click the 'Number input' textbox again and select the value 10.
- 5.Replace the value with a long string of 9s.
- 6.Look at the right edge of the input near the increment and decrement stepper buttons.
Expected
The input text area should stop before the stepper buttons, for example through right padding. Long values should scroll inside the visible text area and not render up to or under the increment and decrement buttons.
Actual
With a long string of 9s, the digits reach the stepper button area on the right side of the input. The text appears to run up to or under the increment and decrement buttons from 9.0s to 13.0s.
Evidence
visualInitial state: the preview input shows the short value 10. The text sits clear of the stepper buttons.
visualAfter focus, the value 10 is highlighted, ready to be replaced.
visualThe input shows a long string of 9s. The digits extend into the area of the increment and decrement stepper buttons.
visualThe long value is still in the input, and its digits still reach the stepper buttons.
visualControl: the value is replaced with 42. The short value displays correctly and stays clear of the stepper buttons.
visualControl persists: the input still shows 42 with no overlap after the cursor moves away.
Issue markdown (copy-paste ready)
## NumberInput: long values run under the stepper buttons **Environment** - Chakra UI docs version: 3.38.0 - Page: /docs/components/number-input - Browser: Chromium 151.0.7922.34 on macOS - Viewport: 1280x720, DPR 1 ### Steps to reproduce 1. Open `/docs/components/number-input`. The preview input shows `10` (0.0s). 2. Click the `Number input` textbox in the preview (3.7s), then click it again and select the value (6.7s). 3. Replace the value with a long string of 9s (9.0s). 4. Look at the right edge of the input near the stepper buttons (11.0s). ### Expected The text area should end before the increment and decrement stepper buttons. Long values should scroll inside the visible text area and not draw under the buttons. ### Actual The long string of 9s reaches the stepper button area. The digits appear to run up to or under the increment and decrement buttons from 9.0s to 13.0s. ### Control case A short value (`42`, at 17.0s and 19.0s) displays correctly with no overlap. The initial value `10` (0.0s) is also fine. The issue only shows with values long enough to fill the input width. ### Evidence - 0.0s: initial value `10`, no overlap. - 9.0s: long string of 9s, digits reach the stepper buttons. - 13.0s: overlap still present. - 17.0s: control value `42` renders correctly. No console or network data was captured. ### Suggested area NumberInput input styles: the padding-end does not seem to account for the width of the `NumberInputControl` steppers. *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 →