-
Notifications
You must be signed in to change notification settings - Fork 162
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
igx-grid - calculation of grid height has been broken when enabling/disabling filter row after updating to v7.0.4. #3363
Comments
This could also be related to #3290 |
@tkiryu The sample you've attached is using Angular 6 and IgniteUI for Angular 6.2.0. In that version the bug you've described is not reproducible. I'll change the title of this issue a little bit and will reassign this issue to the people who wrote the height logic. I'm also attaching the proper sample converted to IgniteUI 7.0.4. |
@tkiryu There is something else wrong with the sample as the grid doesn't have any styles. Not sure if this affects the current behavior. |
Oh, I'm sorry about that.
Thank you for investigating. I get your point. I think calculation of grid height is fragile. I update to the latest igniteui-angular as soon as it is released and often encounter such an issue. I hope that the height calculation logic will be more stable. |
@tkiryu I've assigned the bug to @ChronosSF who has more knowledge in the area. |
@bkulov , thanks! |
When When Since this sample has a small amount of data(10 rows), which leads to no scrollbar, I found the issue by chance. |
@tkiryu Something seems quite wrong with the theming in these screenshots. Is this from the theming, or is it the sample? The grid height calculations are based on the record heights, which are considered before the grid is rendered, because virtualization doesn't work if content is already rendered. The record heights seem unnatural in this sample, even for compact display density, so this may be affecting your rendering. Again, I think this is related to the theme. |
Duplicate of #4458, which is already fixed. |
Description
I checked the fix for #3255 and found that calculation of grid height has been broken when enabling/disabling filter row after updating to v7.0.4.
Steps to reproduce
Same as #3255.
Result
At step 1
There is no problem.
After step 2
The body height of grid shrinks.
After step 4
The body of grid gets zero height.
Expected result
The body height of grid should not shrink as before.
Attachments
Same as #3255.
igx-grid.zip
The text was updated successfully, but these errors were encountered: