Tabulator: Header columns do not align on horizontal scroll

Created on 18 Apr 2019  路  4Comments  路  Source: olifolkerd/tabulator

Describtion

When scrolling horizontal the header columns do not always align with the data columns below when scrolling stops. While scrolling this is known behaviour (#1437) but when scrolling stops it is a bug. I've tested this in previous versions of Tabulator and the problem only occurs in 4.2.0 and later versions. 4.1.5 is not having this issue.

There is no problem when scrolling with dragging the scroll bar. For me the bug only appears by scrolling with a trackpad (Macbook) or with a mouse (finger swipe on Apple Magic Mouse).

Tabulator Info

  • Tested on: 4.1.5 (aligns properly), 4.2.0 (buggy), 4.2.5 (buggy)

Examples

Codepen for Version 4.1.5 (aligns properly - no bug)
Codepen for Version 4.2.5 (buggy)

To Reproduce

  1. Open Codepens above
  2. Scroll left/right and stop scrolling abruptly (I used a Macbook Touchpad or an Apple Magic Mouse)
  3. Columns do not align properly when scrolling stops

Expected behavior
Header columns always align with data columns below after scrolling stops

Example Videos

4.1.5 (aligns properly - no bug)
Tabulator 4.1.5

4.2.5 (buggy)
Tabulator 4.2.5

Enironment

  • OS: MacOs, Macbook Pro (2013) - Retina Display
  • Browser: Latestest Version of Chrome, Safari, Firefox
Bug

Most helpful comment

Hey @dasboe

I will look into this further for the next patch release.

Cheers

Oli :)

All 4 comments

Hey @dasboe

I will look into this further for the next patch release.

Cheers

Oli :)

Great - thanks Oli! :)

i have pushed a fix for this to the master brnach and will include it in this weekends patch release.

Cheers

Oli :)

Sweet - thanks for the quick fix! 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aballeras01 picture aballeras01  路  3Comments

c3pos-brother picture c3pos-brother  路  3Comments

andreivanea picture andreivanea  路  3Comments

iBek23 picture iBek23  路  3Comments

AndrewHutcheson picture AndrewHutcheson  路  3Comments