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

Virtual Grid - Vibrating Grid when Overflowing #765

Open
chughes-lincoln opened this issue Dec 30, 2022 · 3 comments
Open

Virtual Grid - Vibrating Grid when Overflowing #765

chughes-lincoln opened this issue Dec 30, 2022 · 3 comments
Assignees
Labels
Milestone

Comments

@chughes-lincoln
Copy link
Contributor

This is a bit of an odd bug that is somewhat hard to replicate. When scrolling through the attribute table if you stop scrolling in specific spots, it appears to get caught between two different grid states and rapidly shifts between them, which can be pretty jarring.

It appears to only occur when you have a lot of information in the attribute table (like in this old example: #586 - I'm assuming it'd be easy to replicate on this dataset). I haven't been able to replicate it on the testing instance of the demo as there isn't much information in the parcels dataset, though I was on my build of the demo by adding a lot of duplicate fields to the parcels-row file.

@theduckylittle
Copy link
Member

I highly suspect this is due a recalculation of the row-height. For example, if the first cell is too short and a cell down the row is "taller" then it causes a shift in the rendered height of the row. But if this is on the border of what is visible it will cause some glitching.

One possible solution would be to allow the user to specify the default height of the row seen here in Virtuoso's docs (see defaultItemHeight).

Marking this as a bug but going to focus time on some of the other more obvious operational bugs.

@theduckylittle theduckylittle added this to the 3.11.0 milestone Jan 2, 2023
@theduckylittle theduckylittle self-assigned this Jan 2, 2023
@theduckylittle theduckylittle modified the milestones: 3.11.0, 3.12.0 Mar 14, 2023
@theduckylittle
Copy link
Member

Bumped to 3.12 for now... this may require some additional docs or CSS hacks to make it act right.

@chughes-lincoln
Copy link
Contributor Author

I feel like the width of the cell may be more of an issue than the height.

I have a dataset that has a field that can either be very long or have nothing. When you're scrolling through different results with significantly different widths the grid has to change drastically. When I set a default width of the grid so that the grid width isn't changing dynamically (in css not in the docs you mentioned), the issue no longer occurs (or at least it's much less frequent). I'm still noticing a bit when I set a max-width so that the grid isn't changing as much, but it's less noticeable.

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

No branches or pull requests

3 participants