Skip to content
Bug reportOct 8, 2026· 0:35· 2 views

Handsontable 18.1.1: NestedHeaders + autoColumnSize leaves blank area at right scroll end

0:35 total

Comments · 0

Be the first to comment.

Bug report— by SceneRecap AI

highNestedHeaders / autoColumnSize column width cache invalidation
os: macOSbrowser: Chromium 151.0.7922.34viewport: 1280x720handsontable_version: 18.1.1

Repro steps

  1. 1.Initialize Handsontable 18.1.1 with NestedHeaders and autoColumnSize enabled and long header labels
  2. 2.Scroll horizontally to the far right end of the table

Expected

Columns and data cells should render properly across the entire viewport width when scrolled to the far right.

Actual

A large blank area is displayed across the right portion of the viewport because column width cache is not invalidated when autoColumnSize expands widths, resulting in a cache total (1300 px) vs live total (6284 px) mismatch.

Evidence

visualTable viewport displays a large blank whitespace region to the right of column header label 26 when scrolled to the right end
consoleWarning logged: 'At right scroll end: cache=1300 px, live=6284 px, scroll=5335/5335 px'
visualStatus bar confirms 'Cache total: 1300 px | Live total: 6284 px | Scroll: 5335/5335 px | Mismatch: YES (bug active)'
Issue markdown (copy-paste ready)
### Bug Description
When combining `NestedHeaders` and `autoColumnSize` in Handsontable 18.1.1, the ghost table calculations expand column widths but do not invalidate the column width cache in `NestedHeaders`. This leaves a discrepancy between the cached total width (1300 px) and the live total width (6284 px). When scrolling horizontally to the end, the viewport renders a blank white area instead of displaying table data.

### Steps to Reproduce
1. Open Handsontable configured with `NestedHeaders` and `autoColumnSize`.
2. Note initial status bar indicating `Cache total: 1300 px | Live total: 6284 px | Mismatch: YES (bug active)`.
3. Scroll horizontally to the far right end (`Scroll: 5335/5335 px`).

### Expected Result
All columns and cells at the right end of the table should render continuously across the grid viewport.

### Actual Result
Only Column 26 renders on the left edge of the viewport, while the rest of the viewport to the right remains completely blank.

*Recorded with SceneRecap.*

Your recordings could explain themselves too.

Free plan · silent recordings welcome · bug reports included.

Try SceneRecap free →
Handsontable 18.1.1: NestedHeaders + autoColumnSize leaves blank area at right scroll end · SceneRecap