22
Views
2
Comments
Setting the scroll height to show 2 carditems
Application Type
Reactive

My objective is to set the height in the scrollable wrapper class such that only 2 CardItems are visible at a time. I have already tried hardcoding a value but the scrollable wrapper class is to be used in different tables within a block where the height of CardItems might be different. So is there a way to dynamically calculate the height and set it within the CSS class?

2026-02-26 06-29-24
Rahul
 
MVP

Hi KArtik,


You need to set hight of list widget insted of card item . because you are showing carditems in a list

2022-09-05 08-23-51
Naveen N

@Rahul Sahu I agree with him, you need to give the scroll to the parent. 

If you are looking for this , please let me know @Kartik Prajapati , i will post the example for your reference.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.