Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll jumps when using the column resizer #4515

Open
mbechev opened this issue Jan 15, 2025 · 0 comments
Open

Scroll jumps when using the column resizer #4515

mbechev opened this issue Jan 15, 2025 · 0 comments

Comments

@mbechev
Copy link
Contributor

mbechev commented Jan 15, 2025

Description

Scroll jumps when using the column resizer to auto-fit the column width.

Image

Steps To Reproduce

  1. Scroll to the far right.
  2. Autofit Col 15 by double-clicking the right border of the column.
  3. The scroll will jump to Col 7.

https://stackblitz.com/edit/angular-lsjddfwm-akc8wxfr

Actual Behavior

The position of the scroll is changed due to the change in the column width.

As a workaround, set the virtualColumns property to true.

 <kendo-grid
      [kendoGridBinding]="gridData"
      ...
      [virtualColumns]="true"
    ></kendo-grid>

Expected Behavior

The scroll position should not be changed when autofiting the columns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants