handsontable icon indicating copy to clipboard operation
handsontable copied to clipboard

Using `preventOverflow` breaks the vertical scroll after `updateSettings` is called

Open AMBudnik opened this issue 3 years ago • 2 comments

Description

Using preventOverflow breaks the vertical scroll after updateSettings is called. It does not matter if we use false, vertical or horizontal value.

Steps to reproduce

  1. Go to https://jsfiddle.net/8u0Ldms3/12/
  2. Select cell A20 and use the arrow down key until you get to A30+
  3. Go to https://jsfiddle.net/8u0Ldms3/13/
  4. Repeat steps in point.2

Result - first demo (works correctly) good

Result - second demo (scrolling broken) bad

Related issues

  • https://github.com/handsontable/dev-handsontable/issues/379
  • https://github.com/handsontable/handsontable/issues/8233

Demo

https://jsfiddle.net/8u0Ldms3/9/ v11

Your environment

  • Handsontable version: 11.1.0
  • Browser name and version: Chrome 97
  • Operating system: macOS Monterey

Inform Zen

AMBudnik avatar Jan 28 '22 10:01 AMBudnik

Running into this as well with version 14.4.0 but for me the sticky header ends up freezing. You can actually observe this in the jsfiddle when you scroll halfway down the table and select a cell.

In my cases with a really long table it somehow actually truncates the last rows for me.

stephan-v avatar Jul 23 '24 07:07 stephan-v

Thank you for feedback @stephan-v

I will make sure to inform you once it's solved.

AMBudnik avatar Jul 23 '24 07:07 AMBudnik