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

[BUG][Grid] Grid with empty grouping and selection causes scroll issue #2602

Open
InaGlushkova opened this issue Oct 22, 2024 · 1 comment
Open
Labels
Bug Item which indicates that something is not working FP: Unplanned Label that indicates that this is a valid feature request or a bug report. KendoReact pkg:Grid SEV: Medium

Comments

@InaGlushkova
Copy link

InaGlushkova commented Oct 22, 2024

Public item - https://feedback.telerik.com/kendo-react-ui/1667668

I'm submitting a...

Bug report

Current behavior

When we have a selection available and we add group=[{}] the scroll moves to the top.

Expected behavior

When we have a selection available and we add group=[{}] we should stay at the newly selected item.

Minimal reproduction of the problem with instructions

  1. Open the following Stackblitz EXAMPLE
  2. Scroll
  3. Select a row
  4. The scroll moves to the top, and the row stays selected

Reported in ticket ID: 1667668

@InaGlushkova InaGlushkova added Bug Item which indicates that something is not working pkg:Grid SEV: Low labels Oct 22, 2024
@evanron
Copy link

evanron commented Oct 22, 2024

Just to be clear, this bug is evident for any grouping, grouping heirachy, and as demonstrated - the simplisit incarnation of the bug is to add a plain "empty group" to the grid.

Note - In the above bug, the prop's name grouping is a typo, the actual prop for the grid is group as far as I know.

<Grid group={[]} ...

Thank you,
Evan

@vveesseelliinnaa vveesseelliinnaa added KendoReact FP: Unplanned Label that indicates that this is a valid feature request or a bug report. labels Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Item which indicates that something is not working FP: Unplanned Label that indicates that this is a valid feature request or a bug report. KendoReact pkg:Grid SEV: Medium
Projects
None yet
Development

No branches or pull requests

3 participants