fix(desktop): stop send button icon flicker

This commit is contained in:
zhayujie
2026-06-29 18:00:46 +08:00
parent 2786148153
commit f82eb39d23

View File

@@ -390,7 +390,7 @@ const ChatInput = forwardRef<ChatInputHandle, ChatInputProps>(function ChatInput
<button <button
onClick={handleSubmit} onClick={handleSubmit}
disabled={!canSend} disabled={!canSend}
className="flex-shrink-0 w-10 h-10 flex items-center justify-center rounded-btn bg-accent text-white hover:bg-accent-hover disabled:bg-surface-2 disabled:text-content-disabled disabled:cursor-not-allowed cursor-pointer transition-colors" className="flex-shrink-0 w-[42px] h-[42px] flex items-center justify-center rounded-btn bg-accent text-white hover:bg-accent-hover disabled:bg-surface-2 disabled:text-content-disabled disabled:cursor-not-allowed cursor-pointer transition-none [&_*]:transition-none"
title={t('chat_send')} title={t('chat_send')}
> >
<PaperPlaneIcon size={15} /> <PaperPlaneIcon size={15} />