Hi,
Is there a way to make a 100% height based on the current viewport?
The use case will be the chat page.
We want to show the chat to have a fixed height. The input text is always at the bottom and we can just scroll at the message container and the contacts container on the left.
I did some research and can achieve this using boostraps vh-100 but using it makes the height either too small.
<img src="https://clients.in-uat.com/demo/tmp/layout-img.png" />
Hi,
Noted, we will fix this in the next update.
In the meantime can you scroll element's attributes as shown below for the contact's list:
data-kt-scroll="true"
data-kt-scroll-activate="{default: false, lg: true}" data-kt-scroll-max-height="auto"
data-kt-scroll-dependencies="#kt_header, #kt_app_header, #kt_toolbar, #kt_app_toolbar, #kt_footer, #kt_app_footer, #kt_chat_contacts_header"
data-kt-scroll-wrappers="#kt_content, #kt_app_content, #kt_chat_contacts_body"
data-kt-scroll-offset="5px"
data-kt-element="messages"
data-kt-scroll="true"
data-kt-scroll-activate="{default: false, lg: true}"
data-kt-scroll-max-height="auto"
data-kt-scroll-dependencies="#kt_header, #kt_app_header, #kt_app_toolbar, #kt_toolbar, #kt_footer, #kt_app_footer, #kt_chat_messenger_header, #kt_chat_messenger_footer"
data-kt-scroll-wrappers="#kt_content, #kt_app_content, #kt_chat_messenger_body" data-kt-scroll-offset="5px"
You're the man Sean. it works to some extent but this is good for now. Looking forward for the next update.
Great! No problem at all, If you send me your screenshot and show it I will help to fine-tune it for you. Please let me know.