tabalinas / jsgrid

Lightweight Grid jQuery Plugin
http://js-grid.com
MIT License
1.53k stars 351 forks source link

Shifting column header when typing offscreen #473

Open ralawar7 opened 8 years ago

ralawar7 commented 8 years ago

Just noticed an graphical issue when performing the following steps:

  1. Click inside a filter input to focus it
  2. Scroll left/right until that filter input is off-screen
  3. Type something

You will notice that the top portion of the grid will shift over to bring the focused filter into view. However, the columns are no longer aligned. Scrolling/refreshing does seem to fix the issue until you perform the steps again.

tabalinas commented 8 years ago

I've managed to reproduce the bug. Thank you for the report. The only different is that for me scrolling on the content of the grid aligns header and content at once.