. The text inside has varying number of lines. How can I adjust the height of all `Card`s to the highest one (with the longest text), so that the size doesn't jump while swiping?
c
Chrimaeon
02/25/2025, 9:11 AM
Please use the search function of Slack. This question was asked like 100 times already 🙈
l
Lukasz Kalnik
02/25/2025, 9:11 AM
Oops, sorry, and thank you!
l
Leo N
04/04/2025, 7:07 AM
Hi @Lukasz Kalnik, not sure if I understand your problem correctly. In order to
adjust the height of all Cards to the highest one
, we need to measure the “real” high when they are visible in screen. I believe there are a few solutions out there, but let assume you have a
HorizontalPager
and there is only 1 item display 1 time only, we can use this option: