After upgrading my app to Angular10 , I have noticed that a scrollbar is visible in the Show/Hide column dropdown regardless of its length.
In the below screenshot you can find that only 6 items are there and a scrollbar is not required as all are visible in the dropdown window still a scrollbar is appearing.
Thanks for sharing the sample. Yes, I have added a min-height to reduce the extra spaces between the items. Before adding the min-height it was too long as you can see in the below image
I want this height to limit to a value and the scrollbar to appear only if required, which is not happening at all even after setting a minimal value to min-height.
Hope I could explain you my requirement.
Thanks Bozhidara. Applying the first option of setting the paddings has reduced the gaps and now it look much compact and clean.
igx-checkbox.igx-column-actions__columns-item { padding-left: 1rem; padding-right: 1rem; padding-top: 0; padding-bottom: 0; margin-top: -10px; margin-bottom: 0; }
#columnHidingGrid igx-column-actions igx-checkbox.igx-column-actions__columns-item { min-height: 1.25rem; } #columnHidingGrid .igx-column-actions__columns { height: 200px; }
I think columnListHeight and columnsAreaMaxHeight properties are not available in Ignite UI for Angular - 10.1.0 version.
I was setting min-height to igx-column-actions__columns-item element.
I am using the following versions:
Angular- 10.1.4 and Ignite UI for Angular - 10.1.0