Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: message hover action flashing (#7552)
Richard Shiueeddb623fba86
diff --git a/frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/ai_message_bubble.dart b/frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/ai_message_bubble.dartindex a938c9094f..770fb990b1 100644--- a/frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/ai_message_bubble.dart+++ b/frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/ai_message_bubble.dart@@ -217,22 +217,22 @@ class _ChatAIMessageHoverState extends State<ChatAIMessageHover> {setState(() => hoverActionBar = false);}},- child: Container(- constraints: BoxConstraints(- maxWidth: 784,- maxHeight: DesktopAIChatSizes.messageActionBarIconSize +- DesktopAIChatSizes- .messageHoverActionBarPadding.vertical,- ),+ child: SizedBox(+ width: 784,+ height: DesktopAIChatSizes.messageActionBarIconSize ++ DesktopAIChatSizes.messageHoverActionBarPadding.vertical,child: hoverBubble || hoverActionBar || overrideVisibility- ? AIMessageActionBar(- message: widget.message,- showDecoration: true,- onRegenerate: widget.onRegenerate,- onChangeFormat: widget.onChangeFormat,- onOverrideVisibility: (visibility) {- overrideVisibility = visibility;- },+ ? Align(+ alignment: AlignmentDirectional.centerStart,+ child: AIMessageActionBar(+ message: widget.message,+ showDecoration: true,+ onRegenerate: widget.onRegenerate,+ onChangeFormat: widget.onChangeFormat,+ onOverrideVisibility: (visibility) {+ overrideVisibility = visibility;+ },+ ),): null,),