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

Grid with enabled virtual scrolling (rows and columns) cause all rows to disappear randomly while scrolling #1270

Closed
kdikov82 opened this issue Apr 1, 2022 · 13 comments
Assignees
Labels
Bug Item which indicates that something is not working pkg:Grid SEV: High

Comments

@kdikov82
Copy link
Contributor

kdikov82 commented Apr 1, 2022

Example replicating the issue:

Steps to reproduce:

  1. Open the example in new window
  2. Scroll to the middle of the Grid`s scrollbar fast and let go of the scroll. Almost every time (but not always), the rows will not be visible.
  3. Scrolling up or down with the mouse wheel will show the rows

Another issue is that some of the top rows might also not be visible when scrolling up (randomly).
The scrolling is extremely slow even with reduced number of columns.

@kdikov82 kdikov82 added Bug Item which indicates that something is not working pkg:Grid labels Apr 1, 2022
@kdikov82
Copy link
Contributor Author

kdikov82 commented Apr 4, 2022

Additional note:
On machine with one monitor, the was not replicated.

When the problem was reported, it was stated that it is observed on machines with external monitors.
Also, I am observing the issue on machine with two monitors.

@kdikov82
Copy link
Contributor Author

Recordings of the issue can be found in the following ticket:
https://supportheroes.telerik.com/ticket/1559645

@InaGlushkova
Copy link

A related issue was reported under #1278

@InaGlushkova
Copy link

InaGlushkova commented Apr 22, 2022

A related issue was reported again under ticket 1562443.

Additional information about the issue:

When a filter that does not change the data count is applied grid shows an empty state until you scroll.

  1. Go to this example: https://stackblitz.com/edit/react-1u4myn?file=app/main.jsx
  2. Scroll about 50 items.
  3. Change the filter of the Discontinued column to "Check all"

When you reset the table skip value 0 (or any other value) grid shows an empty state until you scroll.

  1. Go to this example: https://stackblitz.com/edit/react-1u4myn?file=app/main.jsx
  2. Scroll about 50 items.
  3. Click the Set Skip 0 button

When you set the initial skip to some value grid shows correct data but when you start scrolling it sets the skip to 0.

  1. Go to this example: https://stackblitz.com/edit/react-1u4myn?file=app/main.jsx
  2. Change skip in line 18 to 50
  3. Start scrolling it will reset skip to 0

@InaGlushkova
Copy link

Reported again under ticket 1563407.

@InaGlushkova
Copy link

Reported again under: 1566225

@filipKovachev
Copy link
Contributor

Reported again in 1578093

@nstoychev
Copy link

It looks resolved with version 5.10.1.

Here is the updated example: https://stackblitz.com/edit/react-u6s5vf-p1w9vp?file=app%2Fmain.jsx

@da1z
Copy link

da1z commented Feb 7, 2023

When a filter that does not change the data count is applied grid shows an empty state until you scroll.

  1. Go to this example: https://stackblitz.com/edit/react-1u4myn?file=app/main.jsx
  2. Scroll about 50 items.
  3. Change the filter of the Discontinued column to "Check all"

@nstoychev this one is still reproducible

@nstoychev
Copy link

@da1z This case will not be covered in this issue. I logged it here: #1488.

@nstoychev
Copy link

Example with React 18 createRoot API using version 5.11.1-dev.202302071533: https://stackblitz.com/edit/react-u6s5vf-15yxcx?file=app%2Fmain.jsx

@da1z
Copy link

da1z commented Feb 22, 2023

@nstoychev
thanks! with setting skip to 0 I was trying to scroll grid to top, with your example it works!

But as for this:

When a filter that does not change the data count is applied grid shows an empty state until you scroll.

Go to this example: https://stackblitz.com/edit/react-1u4myn?file=app/main.jsx
Scroll about 50 items.
Change the filter of the Discontinued column to "Check all"

The issue is different. When you change filters so rows count does not change, as for example selecting all options in filter, the grid becomes empty until scroll

@nstoychev
Copy link

@da1z

When a filter that does not change the data count is applied grid shows an empty state until you scroll.

This is resolved in 5.11.1-dev.202302131506 - Changelog is here.

Example: https://stackblitz.com/edit/react-1u4myn-yegn7d?file=app%2Fmain.jsx.

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 pkg:Grid SEV: High
Projects
None yet
Development

No branches or pull requests

7 participants