@pubuduth-aplicy/chat-ui 2.2.21 → 2.2.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -217,7 +217,7 @@ const Messages = () => {
|
|
|
217
217
|
<div
|
|
218
218
|
ref={chatContainerRef}
|
|
219
219
|
className="chatMessages"
|
|
220
|
-
style={{ overflowY: "auto",
|
|
220
|
+
style={{ overflowY: "auto", flex: "1 1 0%", minHeight: 0, position: "relative" }}
|
|
221
221
|
>
|
|
222
222
|
<SystemNotice />
|
|
223
223
|
<div ref={ref} className="my-8">
|
|
@@ -226,11 +226,7 @@ const Messages = () => {
|
|
|
226
226
|
{messages?.length > 0 ? (
|
|
227
227
|
messages?.map((message: any) =>
|
|
228
228
|
message ? (
|
|
229
|
-
<div
|
|
230
|
-
key={message._id}
|
|
231
|
-
data-message-id={message._id}
|
|
232
|
-
style={{ flex: 1, minHeight: 0, overflowY: "auto" }}
|
|
233
|
-
>
|
|
229
|
+
<div key={message._id} data-message-id={message._id}>
|
|
234
230
|
<Message message={message} />
|
|
235
231
|
</div>
|
|
236
232
|
) : null,
|