-
Notifications
You must be signed in to change notification settings - Fork 298
Description
I am trying to wrap the height of a ChannelList
, so I can place a view directly under the list of channels, but I am unable to do this dynamically. This line https://github.com/GetStream/stream-chat-android/blob/develop/stream-chat-android-compose/src/main/java/io/getstream/chat/android/compose/ui/channels/list/Channels.kt#L85 prevents me from being able to wrap the ChannelList
height, as the internal LazyColumn
takes up the full view. I would like to propose that the SDK provide the option to .wrapContentHeight()
to this LazyColumn
.
In this image you can see I'm able to get close to what I want. The red box is the ChannelList
which I predefined the .height
to the size of 2 channels. The "Contact" section and below is my own custom view. I would like this section to be placed dynamically under the list of channels regardless of the # of channels.