diff --git a/src/components/xt-chat/chat-view/useChatHandler.tsx b/src/components/xt-chat/chat-view/useChatHandler.tsx
index 1f75ba9..1950f67 100644
--- a/src/components/xt-chat/chat-view/useChatHandler.tsx
+++ b/src/components/xt-chat/chat-view/useChatHandler.tsx
@@ -226,7 +226,7 @@ export default function useChatHandler(options: UseChatHandlerOptions): UseChatH
)}
)}
- {isCollapse ? (
+ {isCollapse && (

@@ -234,9 +234,8 @@ export default function useChatHandler(options: UseChatHandlerOptions): UseChatH
- ) : (
- customRender?.()
)}
+ {customRender?.()}
>
);
},
diff --git a/src/components/xt-chat/xt-conversations/style.scss b/src/components/xt-chat/xt-conversations/style.scss
index 59c9b5e..46fb267 100644
--- a/src/components/xt-chat/xt-conversations/style.scss
+++ b/src/components/xt-chat/xt-conversations/style.scss
@@ -1,7 +1,7 @@
.xt-conversations-container {
width: 100%;
height: 100%;
- overflow-y: auto;
+ // overflow-y: auto;
:deep(.overflow-text) {
color: var(--Text-1, #211f24);
font-family: $font-family-regular;