diff --git a/.changes/fix-sender-overflow.md b/.changes/fix-sender-overflow.md new file mode 100644 index 0000000..6d00211 --- /dev/null +++ b/.changes/fix-sender-overflow.md @@ -0,0 +1,5 @@ +--- +"@matechat/react": patch:fix +--- + +Fix max height of sender and optimize scrollbar style. diff --git a/playground/src/Chat.tsx b/playground/src/Chat.tsx index 4cc4113..c5aec7d 100644 --- a/playground/src/Chat.tsx +++ b/playground/src/Chat.tsx @@ -11,6 +11,7 @@ import { InputCount, Sender } from "@matechat/react/sender"; import type { MessageParam } from "@matechat/react/utils"; import { useChat } from "@matechat/react/utils/chat"; import { useMateChat } from "@matechat/react/utils/core"; +import clsx from "clsx"; import { MessageSquarePlus } from "lucide-react"; import { useMemo, useState } from "react"; @@ -84,7 +85,13 @@ export function Chat() {